mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-23 12:22:15 +09:00
issue 448 check menu_srl
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9848 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4dd01ec7c6
commit
74026e58d7
1 changed files with 5 additions and 2 deletions
|
|
@ -81,8 +81,11 @@
|
|||
if(is_array($output->data)) $menu_info = $output->data[0];
|
||||
else $menu_info = $output->data;
|
||||
|
||||
$menu_info->xml_file = sprintf('./files/cache/menu/%s.xml.php',$menu_info->menu_srl);
|
||||
$menu_info->php_file = sprintf('./files/cache/menu/%s.php',$menu_info->menu_srl);
|
||||
if($menu_info->menu_srl)
|
||||
{
|
||||
$menu_info->xml_file = sprintf('./files/cache/menu/%s.xml.php',$menu_info->menu_srl);
|
||||
$menu_info->php_file = sprintf('./files/cache/menu/%s.php',$menu_info->menu_srl);
|
||||
}
|
||||
return $menu_info;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue