mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
issue 222 when install, recreate cache bug. fixed
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9439 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bea62b05e4
commit
215bd9ad16
1 changed files with 14 additions and 11 deletions
|
|
@ -207,18 +207,21 @@
|
|||
if($this->module_info->use_mobile != "Y") Mobile::setMobile(false);
|
||||
|
||||
// admin menu check
|
||||
$oMenuAdminModel = &getAdminModel('menu');
|
||||
$output = $oMenuAdminModel->getMenuByTitle('__XE_ADMIN__');
|
||||
if(Context::isInstalled())
|
||||
{
|
||||
$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);
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue