mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +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
|
|
@ -16,20 +16,7 @@
|
|||
* @return none
|
||||
**/
|
||||
function init() {
|
||||
// admin menu check
|
||||
$this->xeMenuTitle = '__XE_ADMIN__';
|
||||
$oMenuAdminModel = &getAdminModel('menu');
|
||||
$output = $oMenuAdminModel->getMenuByTitle($this->xeMenuTitle);
|
||||
|
||||
if(!$output->menu_srl)
|
||||
{
|
||||
parent::_createXeAdminMenu();
|
||||
}
|
||||
else if(!is_readable($output->php_file))
|
||||
{
|
||||
$oMenuAdminController = &getAdminController('menu');
|
||||
$oMenuAdminController->makeXmlFile($output->menu_srl);
|
||||
}
|
||||
|
||||
// forbit access if the user is not an administrator
|
||||
$oMemberModel = &getModel('member');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue