mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-07 20:42:10 +09:00
issue 222 after recreate cache, don't make admin menu cache.
make admin menu cache method move to ModuleHandler this bug is fixed. git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9438 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a10fbe62db
commit
bea62b05e4
3 changed files with 16 additions and 14 deletions
|
|
@ -206,6 +206,21 @@
|
|||
if(!$kind && $this->module == 'admin') $kind = 'admin';
|
||||
if($this->module_info->use_mobile != "Y") Mobile::setMobile(false);
|
||||
|
||||
// admin menu check
|
||||
$oMenuAdminModel = &getAdminModel('menu');
|
||||
$output = $oMenuAdminModel->getMenuByTitle('__XE_ADMIN__');
|
||||
|
||||
if(!$output->menu_srl)
|
||||
{
|
||||
$oAdminClass = &getClass('admin');
|
||||
$oAdminClass->createXeAdminMenu();
|
||||
}
|
||||
else if(!is_readable($output->php_file))
|
||||
{
|
||||
$oMenuAdminController = &getAdminController('menu');
|
||||
$oMenuAdminController->makeXmlFile($output->menu_srl);
|
||||
}
|
||||
|
||||
// Admin ip
|
||||
$logged_info = Context::get('logged_info');
|
||||
if($kind == 'admin' && $_SESSION['denied_admin'] == 'Y'){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue