parent
4fcd8be55f
commit
0a89b156f9
|
|
@ -57,7 +57,13 @@
|
|||
|
||||
//get the $apps array from the installed apps from the core and mod directories
|
||||
if ($domains_processed == 1) {
|
||||
//get the array of xml files
|
||||
$xml_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/*/*/resources/switch/conf/dialplan/*.xml");
|
||||
|
||||
//dialplan class
|
||||
$dialplan = new dialplan;
|
||||
|
||||
//process the xml files
|
||||
foreach ($xml_list as &$xml_file) {
|
||||
//get and parse the xml
|
||||
$xml_string = file_get_contents($xml_file);
|
||||
|
|
@ -69,8 +75,6 @@
|
|||
else {
|
||||
$dialplan_order = 0;
|
||||
}
|
||||
//dialplan class
|
||||
$dialplan = new dialplan;
|
||||
$dialplan->dialplan_order = $dialplan_order;
|
||||
if ($display_type == "text") {
|
||||
$dialplan->display_type = 'text';
|
||||
|
|
|
|||
Loading…
Reference in New Issue