Add 'switch_' to the dialplan class filen name.

This commit is contained in:
Mark Crane 2012-06-06 01:34:11 +00:00
parent 3d2926eb0c
commit 6b6e7c327d
5 changed files with 7 additions and 7 deletions

View File

@ -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;

View File

@ -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'];

View File

@ -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;

View File

@ -2384,7 +2384,7 @@ function save_hunt_group_xml() {
unset($sql);
}
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;
@ -2433,7 +2433,7 @@ function save_hunt_group_xml() {
//if action is add or update
if ($action == 'add' || $action == 'update') {
require_once "includes/classes/dialplan.php";
require_once "includes/classes/switch_dialplan.php";
$dialplan = new dialplan;
$dialplan->domain_uuid = $_SESSION['domain_uuid'];
$dialplan->dialplan_uuid = $dialplan_uuid;
@ -3729,7 +3729,7 @@ if (!function_exists('save_call_center_xml')) {
global $db, $domain_uuid;
//include the classes
include "includes/classes/dialplan.php";
include "includes/classes/switch_dialplan.php";
$sql = "select * from v_call_center_queues ";
$prep_statement = $db->prepare(check_sql($sql));

View File

@ -1210,7 +1210,7 @@ if ($_POST["install_step"] == "3" && count($_POST)>0 && strlen($_POST["persistfo
//print_r($install->result);
//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->domain = $domain_name;