Move domain upgrade into the domain class and upgrade_schema into the schema class
This commit is contained in:
@@ -3100,9 +3100,11 @@ if (!function_exists('save_switch_xml')) {
|
||||
save_dialplan_xml();
|
||||
}
|
||||
if (is_readable($_SESSION['switch']['extensions']['dir'])) {
|
||||
require_once PROJECT_PATH."app/extensions/resources/classes/extension.php";
|
||||
$extension = new extension;
|
||||
$extension->xml();
|
||||
if (file_exists(PROJECT_PATH."/app/extensions/resources/classes/extension.php")) {
|
||||
require_once PROJECT_PATH."app/extensions/resources/classes/extension.php";
|
||||
$extension = new extension;
|
||||
$extension->xml();
|
||||
}
|
||||
}
|
||||
if (is_readable($_SESSION['switch']['conf']['dir'])) {
|
||||
if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/app/settings/app_config.php")) {
|
||||
|
||||
Reference in New Issue
Block a user