mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
issue 2498 admin_menu_srl setting to context for recreate admin menu cache file
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11766 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
46bc0acf39
commit
79ea1db0a3
1 changed files with 8 additions and 3 deletions
|
|
@ -82,10 +82,14 @@
|
|||
$oAdminClass = &getClass('admin');
|
||||
$oAdminClass->createXeAdminMenu();
|
||||
}
|
||||
else if(!is_readable(FileHandler::getRealPath($output->php_file)))
|
||||
else
|
||||
{
|
||||
$oMenuAdminController = &getAdminController('menu');
|
||||
$oMenuAdminController->makeXmlFile($output->menu_srl);
|
||||
if(!is_readable(FileHandler::getRealPath($output->php_file)))
|
||||
{
|
||||
$oMenuAdminController = &getAdminController('menu');
|
||||
$oMenuAdminController->makeXmlFile($output->menu_srl);
|
||||
}
|
||||
Context::set('admin_menu_srl', $output->menu_srl);
|
||||
}
|
||||
|
||||
$this->_oldAdminmenuDelete();
|
||||
|
|
@ -105,6 +109,7 @@
|
|||
$args->listorder = $args->menu_srl * -1;
|
||||
$output = executeQuery('menu.insertMenu', $args);
|
||||
$menuSrl = $args->menu_srl;
|
||||
Context::set('admin_menu_srl', $menuSrl);
|
||||
unset($args);
|
||||
|
||||
// gnb item create
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue