[Web] Add "alias_domains" ACL to prevent alias domains to add alias domains (by default!)

[Web] Edit alias domains: use select menu
[Web] Minor fixes
This commit is contained in:
andryyy
2018-11-14 08:20:56 +01:00
parent 270be16ca7
commit 2515a91ac3
8 changed files with 45 additions and 5 deletions

View File

@@ -3,7 +3,7 @@ function init_db_schema() {
try {
global $pdo;
$db_version = "03112018_1117";
$db_version = "14112018_0717";
$stmt = $pdo->query("SHOW TABLES LIKE 'versions'");
$num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
@@ -436,6 +436,7 @@ function init_db_schema() {
"filters" => "TINYINT(1) NOT NULL DEFAULT '1'",
"ratelimit" => "TINYINT(1) NOT NULL DEFAULT '1'",
"spam_policy" => "TINYINT(1) NOT NULL DEFAULT '1'",
"alias_domains" => "TINYINT(1) NOT NULL DEFAULT '0'",
),
"keys" => array(
"primary" => array(