Add 'switch_' to the dialplan class filen name.
This commit is contained in:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user