mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-08 19:42:15 +09:00
Fix menu disappearing when cache folder is removed
This commit is contained in:
parent
746e8c4bb2
commit
45c2baff1f
1 changed files with 6 additions and 0 deletions
|
|
@ -1006,6 +1006,12 @@ class ModuleHandler extends Handler
|
||||||
}
|
}
|
||||||
|
|
||||||
$php_file = FileHandler::exists($menu->php_file);
|
$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)
|
if($php_file)
|
||||||
{
|
{
|
||||||
include($php_file);
|
include($php_file);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue