Update menu.php
This commit is contained in:
parent
e211d7ae3a
commit
884fee7275
|
|
@ -359,7 +359,7 @@ if (!class_exists('menu')) {
|
|||
$config_list = glob($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/*/*/app_menu.php");
|
||||
$x = 0;
|
||||
if (is_array($config_list)) {
|
||||
foreach ($config_list as &$config_path) {
|
||||
foreach ($config_list as $config_path) {
|
||||
$app_path = dirname($config_path);
|
||||
$app_path = preg_replace('/\A.*(\/.*\/.*)\z/', '$1', $app_path);
|
||||
$y = 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue