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:
ovclas 2012-09-14 09:54:23 +00:00
parent 0e3d957f99
commit d035d2e38f

View file

@ -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))
{