mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Add debug information.
This commit is contained in:
@@ -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 @@
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
Reference in New Issue
Block a user