mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-14 16:02:14 +09:00
issue 2364 change real path(menu cache file)
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11232 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0e3d957f99
commit
d035d2e38f
1 changed files with 3 additions and 1 deletions
|
|
@ -45,6 +45,7 @@
|
|||
$site_module_info = Context::get('site_module_info');
|
||||
$args->site_srl = (int)$site_module_info->site_srl;
|
||||
$args->title = Context::get('title');
|
||||
|
||||
$args->menu_srl = getNextSequence();
|
||||
$args->listorder = $args->menu_srl * -1;
|
||||
|
||||
|
|
@ -460,9 +461,10 @@
|
|||
// get menu properies with child menu
|
||||
$phpFile = sprintf("./files/cache/menu/%s.php", $menuSrl);
|
||||
$originMenu = NULL;
|
||||
|
||||
if(is_readable(FileHandler::getRealPath($phpFile)))
|
||||
{
|
||||
@include($phpFile);
|
||||
@include(FileHandler::getRealPath($phpFile));
|
||||
|
||||
if(is_array($menu->list))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue