|
@@ -491,7 +491,7 @@ if ($_POST["install_step"] == "3" && count($_POST) > 0 && strlen($_POST["persist
|
|
$db_tmp->sqliteCreateFunction('now', 'php_now', 0);
|
|
$db_tmp->sqliteCreateFunction('now', 'php_now', 0);
|
|
|
|
|
|
//add the database structure
|
|
//add the database structure
|
|
- require_once "includes/classes/schema.php";
|
|
|
|
|
|
+ require_once "resources/classes/schema.php";
|
|
$schema = new schema;
|
|
$schema = new schema;
|
|
$schema->db = $db_tmp;
|
|
$schema->db = $db_tmp;
|
|
$schema->db_type = $db_type;
|
|
$schema->db_type = $db_type;
|
|
@@ -573,7 +573,7 @@ if ($_POST["install_step"] == "3" && count($_POST) > 0 && strlen($_POST["persist
|
|
}
|
|
}
|
|
|
|
|
|
//add the database structure
|
|
//add the database structure
|
|
- require_once "includes/classes/schema.php";
|
|
|
|
|
|
+ require_once "resources/classes/schema.php";
|
|
$schema = new schema;
|
|
$schema = new schema;
|
|
$schema->db = $db_tmp;
|
|
$schema->db = $db_tmp;
|
|
$schema->db_type = $db_type;
|
|
$schema->db_type = $db_type;
|
|
@@ -740,7 +740,7 @@ if ($_POST["install_step"] == "3" && count($_POST) > 0 && strlen($_POST["persist
|
|
}
|
|
}
|
|
|
|
|
|
//add the database structure
|
|
//add the database structure
|
|
- require_once "includes/classes/schema.php";
|
|
|
|
|
|
+ require_once "resources/classes/schema.php";
|
|
$schema = new schema;
|
|
$schema = new schema;
|
|
$schema->db = $db_tmp;
|
|
$schema->db = $db_tmp;
|
|
$schema->db_type = $db_type;
|
|
$schema->db_type = $db_type;
|
|
@@ -1215,7 +1215,7 @@ if ($_POST["install_step"] == "3" && count($_POST) > 0 && strlen($_POST["persist
|
|
unset($sql);
|
|
unset($sql);
|
|
|
|
|
|
//add the menu items
|
|
//add the menu items
|
|
- require_once "includes/classes/menu.php";
|
|
|
|
|
|
+ require_once "resources/classes/menu.php";
|
|
$menu = new menu;
|
|
$menu = new menu;
|
|
$menu->db = $db;
|
|
$menu->db = $db;
|
|
$menu->menu_uuid = $menu_uuid;
|
|
$menu->menu_uuid = $menu_uuid;
|
|
@@ -1267,7 +1267,7 @@ if ($_POST["install_step"] == "3" && count($_POST) > 0 && strlen($_POST["persist
|
|
//print_r($install->result);
|
|
//print_r($install->result);
|
|
|
|
|
|
//create the dialplan/default.xml for single tenant or dialplan/domain.xml
|
|
//create the dialplan/default.xml for single tenant or dialplan/domain.xml
|
|
- require_once "includes/classes/switch_dialplan.php";
|
|
|
|
|
|
+ require_once "resources/classes/dialplan.php";
|
|
$dialplan = new dialplan;
|
|
$dialplan = new dialplan;
|
|
$dialplan->domain_uuid = $_SESSION["domain_uuid"];
|
|
$dialplan->domain_uuid = $_SESSION["domain_uuid"];
|
|
$dialplan->domain = $domain_name;
|
|
$dialplan->domain = $domain_name;
|