Merge branch 'dev'
commit
edacce0329
|
@ -1,6 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
trap "kill 0" SIGINT
|
|
||||||
|
|
||||||
touch /var/log/clamav/clamd.log /var/log/clamav/freshclam.log
|
touch /var/log/clamav/clamd.log /var/log/clamav/freshclam.log
|
||||||
chown -R clamav:clamav /var/log/clamav/
|
chown -R clamav:clamav /var/log/clamav/
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ function init_db_schema() {
|
||||||
try {
|
try {
|
||||||
global $pdo;
|
global $pdo;
|
||||||
|
|
||||||
$db_version = "14092017_2244";
|
$db_version = "15092017_0754";
|
||||||
|
|
||||||
$stmt = $pdo->query("SHOW TABLES LIKE 'versions'");
|
$stmt = $pdo->query("SHOW TABLES LIKE 'versions'");
|
||||||
$num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
|
$num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
|
||||||
|
@ -376,7 +376,7 @@ function init_db_schema() {
|
||||||
"c_path3" => "VARCHAR(255) DEFAULT NULL",
|
"c_path3" => "VARCHAR(255) DEFAULT NULL",
|
||||||
"c_path4" => "VARCHAR(255) DEFAULT NULL",
|
"c_path4" => "VARCHAR(255) DEFAULT NULL",
|
||||||
"c_foldername" => "VARCHAR(255) NOT NULL",
|
"c_foldername" => "VARCHAR(255) NOT NULL",
|
||||||
"c_location" => "INT NULL",
|
"c_location" => "VARCHAR(2048) DEFAULT NULL",
|
||||||
"c_quick_location" => "VARCHAR(2048) DEFAULT NULL",
|
"c_quick_location" => "VARCHAR(2048) DEFAULT NULL",
|
||||||
"c_acl_location" => "VARCHAR(2048) DEFAULT NULL",
|
"c_acl_location" => "VARCHAR(2048) DEFAULT NULL",
|
||||||
"c_folder_type" => "VARCHAR(255) NOT NULL"
|
"c_folder_type" => "VARCHAR(255) NOT NULL"
|
||||||
|
|
Loading…
Reference in New Issue