remove include statement of class file
This commit is contained in:
parent
635137bfd3
commit
151af1aa4b
|
|
@ -189,8 +189,6 @@
|
||||||
|
|
||||||
//run all app_defaults.php files
|
//run all app_defaults.php files
|
||||||
if ($upgrade_type == 'domains') {
|
if ($upgrade_type == 'domains') {
|
||||||
require_once "resources/classes/config.php";
|
|
||||||
require_once "resources/classes/domains.php";
|
|
||||||
$domain = new domains;
|
$domain = new domains;
|
||||||
$domain->display_type = $display_type;
|
$domain->display_type = $display_type;
|
||||||
$domain->upgrade();
|
$domain->upgrade();
|
||||||
|
|
@ -199,7 +197,6 @@
|
||||||
//upgrade schema and/or data_types
|
//upgrade schema and/or data_types
|
||||||
if ($upgrade_type == 'schema') {
|
if ($upgrade_type == 'schema') {
|
||||||
//get the database schema put it into an array then compare and update the database as needed.
|
//get the database schema put it into an array then compare and update the database as needed.
|
||||||
require_once "resources/classes/schema.php";
|
|
||||||
$obj = new schema;
|
$obj = new schema;
|
||||||
if (isset($argv[2]) && $argv[2] == 'data_types') {
|
if (isset($argv[2]) && $argv[2] == 'data_types') {
|
||||||
$obj->data_types = true;
|
$obj->data_types = true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue