moved upgrade function from app_defaults

moved upgrade function out to upgrade.php otherwise during initial
install all app_defaults get run twice
This commit is contained in:
Matthew Vale
2015-11-26 18:24:09 +00:00
parent 55e463b0ff
commit f45881ec4b
3 changed files with 4 additions and 16 deletions

View File

@@ -1018,10 +1018,6 @@ include "root.php";
$_SESSION['permissions'] = $prep_statementsub->fetchAll(PDO::FETCH_NAMED);
unset($sql, $prep_statementsub);
require_once "resources/classes/schema.php";
global $db, $db_type, $db_name, $db_username, $db_password, $db_host, $db_path, $db_port;