mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-14 16:02:14 +09:00
issue 636 admin menu defense code add
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9731 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3208e90f5c
commit
565a2f12cd
1 changed files with 3 additions and 1 deletions
|
|
@ -78,7 +78,9 @@
|
|||
$output = executeQuery('menu.getMenuByTitle', $args);
|
||||
if(!$output->data) return;
|
||||
|
||||
$menu_info = $output->data;
|
||||
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);
|
||||
return $menu_info;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue