mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix error when menu info is not defined because of stale cache file
This commit is contained in:
parent
24a4988151
commit
ff057034ee
1 changed files with 4 additions and 1 deletions
|
|
@ -55,7 +55,10 @@ class MenuMobile extends moduleObject
|
|||
{
|
||||
@include($homeMenuCacheFile);
|
||||
}
|
||||
$menu_info->php_file = './files/cache/menu/'.$homeMenuSrl.'.php';
|
||||
if($menu_info)
|
||||
{
|
||||
$menu_info->php_file = './files/cache/menu/'.$homeMenuSrl.'.php';
|
||||
}
|
||||
}
|
||||
|
||||
if(file_exists($menu_info->php_file)) @include($menu_info->php_file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue