Add 'switch_' to the dialplan class filen name.
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
$dialplan_order = 0;
|
||||
}
|
||||
//dialplan class
|
||||
require_once "includes/classes/dialplan.php";
|
||||
require_once "includes/classes/switch_dialplan.php";
|
||||
$dialplan = new dialplan;
|
||||
$dialplan->domain_uuid = $domain_uuid;
|
||||
$dialplan->dialplan_order = $dialplan_order;
|
||||
|
||||
@@ -37,7 +37,7 @@ require_once "includes/header.php";
|
||||
|
||||
if ($_GET['a'] == "default" && permission_exists('dialplan_advanced_edit')) {
|
||||
//create the dialplan/default.xml for single tenant or dialplan/domain.xml
|
||||
require_once "includes/classes/dialplan.php";
|
||||
require_once "includes/classes/switch_dialplan.php";
|
||||
$dialplan = new dialplan;
|
||||
$dialplan->domain_uuid = $_SESSION['domain_uuid'];
|
||||
$dialplan->switch_dialplan_dir = $_SESSION['switch']['dialplan']['dir'];
|
||||
|
||||
@@ -215,7 +215,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
unset($sql);
|
||||
|
||||
//update the dialplan entry
|
||||
require_once "includes/classes/dialplan.php";
|
||||
require_once "includes/classes/switch_dialplan.php";
|
||||
$dialplan = new dialplan;
|
||||
$dialplan->domain_uuid = $_SESSION['domain_uuid'];
|
||||
$dialplan->app_uuid = $app_uuid;
|
||||
|
||||
Reference in New Issue
Block a user