mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
issue 2498 when access to the page not a dashboard,
admin menu created also. git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11334 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b696cc0e4b
commit
2eb8d34fcd
4 changed files with 39 additions and 28 deletions
|
|
@ -113,13 +113,12 @@
|
|||
$oAdminAdminModel = &getAdminModel('admin');
|
||||
$lang->menu_gnb_sub = $oAdminAdminModel->getAdminMenuLang();
|
||||
|
||||
$oMenuAdminModel = &getAdminModel('menu');
|
||||
$menu_info = $oMenuAdminModel->getMenuByTitle($oAdminAdminModel->getAdminMenuName());
|
||||
Context::set('admin_menu_srl', $menu_info->menu_srl);
|
||||
|
||||
if(!is_readable($menu_info->php_file)) return;
|
||||
|
||||
include $menu_info->php_file;
|
||||
$menuPhpFile = $oAdminAdminModel->checkAdminMenu();
|
||||
if(!$menuPhpFile)
|
||||
{
|
||||
return $this->setRedirectUrl(getUrl('', 'module', 'admin'));
|
||||
}
|
||||
include $menuPhpFile;
|
||||
|
||||
$oModuleModel = &getModel('module');
|
||||
$moduleActionInfo = $oModuleModel->getModuleActionXml($module);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue