From 9b1a0f6d997a3c6ced812bdd290be9b4cbe2414b Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Wed, 6 Jun 2012 04:06:38 +0000 Subject: [PATCH] Import the dialplan xml files from any app or core directory in the correct path. --- app/dialplan/app_defaults.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dialplan/app_defaults.php b/app/dialplan/app_defaults.php index f83cf3d11c..7cba136dfc 100644 --- a/app/dialplan/app_defaults.php +++ b/app/dialplan/app_defaults.php @@ -45,7 +45,7 @@ } //get the $apps array from the installed apps from the core and mod directories - $xml_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/app/dialplan/resources/xml/dialplan/*.xml"); + $xml_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/*/*/resources/xml/dialplan/*.xml"); foreach ($xml_list as &$xml_file) { //get and parse the xml $xml_string = file_get_contents($xml_file);