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:
@@ -67,7 +67,10 @@
|
||||
$obj = new schema;
|
||||
echo $obj->schema("text");
|
||||
|
||||
//run all app_defaults.php files
|
||||
//request teh switch to perform upgrade functions
|
||||
$obj = new install_switch;
|
||||
$obj->upgrade();
|
||||
|
||||
require_once "resources/classes/domains.php";
|
||||
$domain = new domains;
|
||||
$domain->upgrade();
|
||||
|
||||
Reference in New Issue
Block a user