Change the | to a comma had to review the syntax on the glob command.

This commit is contained in:
Mark Crane
2014-12-27 17:28:07 +00:00
parent 7889e26cfa
commit 449daffbef
2 changed files with 4 additions and 4 deletions

View File

@@ -230,8 +230,8 @@
//get the PROJECT PATH
include "root.php";
//get the list of installed apps from the core and mod directories
$config_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/*/*/app_config.php");
//get the list of installed apps from the core and app directories
$config_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/*/*/app_{config,menu}.php");
$x=0;
foreach ($config_list as &$config_path) {
include($config_path);