mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Merge pull request #138 from kijin/pr/fix-menu-cache
캐시폴더를 삭제하면 메뉴가 사라지는 버그 수정
This commit is contained in:
commit
0b24509356
1 changed files with 6 additions and 0 deletions
|
|
@ -1006,6 +1006,12 @@ class ModuleHandler extends Handler
|
|||
}
|
||||
|
||||
$php_file = FileHandler::exists($menu->php_file);
|
||||
if(!$php_file)
|
||||
{
|
||||
$oMenuAdminController = $oMenuAdminController ?: getAdminController('menu');
|
||||
$oMenuAdminController->makeXmlFile((isset($homeMenuSrl) && $homeMenuSrl) ? $homeMenuSrl : $menu->menu_srl);
|
||||
$php_file = FileHandler::exists($menu->php_file);
|
||||
}
|
||||
if($php_file)
|
||||
{
|
||||
include($php_file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue