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:
ovclas 2011-09-30 00:47:06 +00:00
parent a10fbe62db
commit bea62b05e4
3 changed files with 16 additions and 14 deletions

View file

@ -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');