Misc: Removed use of GLOB_BRACE as doesn't work on some systems, use non-GLOB_BRACE method instead. Thanks [xming] and Risk64. Should resolve Issue 916, as well.

This commit is contained in:
Nate Jones
2015-05-12 18:11:05 +00:00
parent 4a52fac56e
commit e00f3ce583
4 changed files with 21 additions and 28 deletions

View File

@@ -64,7 +64,7 @@
$db = $this->db;
//get the $apps array from the installed apps from the core and mod directories
$config_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/*/*/app_{menu}.php",GLOB_BRACE);
$config_list = glob($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/*/*/app_menu.php");
$x = 0;
foreach ($config_list as &$config_path) {
$y = 0;