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