mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
issue 160 admin setup bug fix.
when menu add, can't read module list. git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9152 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
78f9868d0a
commit
3301e40cf5
1 changed files with 3 additions and 7 deletions
|
|
@ -477,13 +477,9 @@
|
|||
$menuList = array();
|
||||
foreach($installed_module_list AS $key=>$value)
|
||||
{
|
||||
$cache_file = sprintf("./files/cache/module_info/%s.%s.php", $value->module, $currentLang);
|
||||
if(is_readable($cache_file))
|
||||
{
|
||||
include $cache_file;
|
||||
if($info->menu) $menuList[$value->module] = $info->menu;
|
||||
unset($info->menu);
|
||||
}
|
||||
$info = $oModuleModel->getModuleActionXml($value->module);
|
||||
if($info->menu) $menuList[$value->module] = $info->menu;
|
||||
unset($info->menu);
|
||||
}
|
||||
}
|
||||
$this->add('menuList', $menuList);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue