From 3164693197a9e2f475b694f582786273860a78a2 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sat, 27 Dec 2014 17:49:35 +0000 Subject: [PATCH] Add debug information. --- resources/classes/menu.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/classes/menu.php b/resources/classes/menu.php index cce93300a9..b92efaba90 100644 --- a/resources/classes/menu.php +++ b/resources/classes/menu.php @@ -51,11 +51,12 @@ $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_{config,menu}.php",GLOB_BRACE); + $config_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/*/*/app_{menu}.php",GLOB_BRACE); $x = 0; foreach ($config_list as &$config_path) { $y = 0; try { + //echo "[".$x ."] ".$config_path."\n"; include($config_path); $x++; } @@ -200,6 +201,7 @@ if ($db_type == "sqlite") { $db->commit(); } + } //end function //restore the menu and group permissions @@ -616,4 +618,4 @@ } } -?> +?> \ No newline at end of file