mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 17:44:38 +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);
|
if($this->module_info->use_mobile != "Y") Mobile::setMobile(false);
|
||||||
|
|
||||||
// admin menu check
|
// admin menu check
|
||||||
$oMenuAdminModel = &getAdminModel('menu');
|
if(Context::isInstalled())
|
||||||
$output = $oMenuAdminModel->getMenuByTitle('__XE_ADMIN__');
|
{
|
||||||
|
$oMenuAdminModel = &getAdminModel('menu');
|
||||||
|
$output = $oMenuAdminModel->getMenuByTitle('__XE_ADMIN__');
|
||||||
|
|
||||||
if(!$output->menu_srl)
|
if(!$output->menu_srl)
|
||||||
{
|
{
|
||||||
$oAdminClass = &getClass('admin');
|
$oAdminClass = &getClass('admin');
|
||||||
$oAdminClass->createXeAdminMenu();
|
$oAdminClass->createXeAdminMenu();
|
||||||
}
|
}
|
||||||
else if(!is_readable($output->php_file))
|
else if(!is_readable($output->php_file))
|
||||||
{
|
{
|
||||||
$oMenuAdminController = &getAdminController('menu');
|
$oMenuAdminController = &getAdminController('menu');
|
||||||
$oMenuAdminController->makeXmlFile($output->menu_srl);
|
$oMenuAdminController->makeXmlFile($output->menu_srl);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Admin ip
|
// Admin ip
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue