mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Remove reference to old theme file #2677
This commit is contained in:
parent
c5d453a2df
commit
18401d2688
1 changed files with 4 additions and 13 deletions
|
|
@ -51,23 +51,14 @@ class MenuAdminView extends Menu
|
|||
$resultModuleList = $oMenuAdminModel->getModuleListInSitemap($site_srl);
|
||||
Context::set('module_list', $resultModuleList);
|
||||
|
||||
// Get installed layout list
|
||||
$oLayoutModel = getModel('layout');
|
||||
$layoutList = $oLayoutModel->getLayoutList();
|
||||
Context::set('layout_list', $layoutList);
|
||||
|
||||
// choice theme file
|
||||
$theme_file = RX_BASEDIR.'files/theme/theme_info.php';
|
||||
if(is_readable($theme_file))
|
||||
{
|
||||
include($theme_file);
|
||||
Context::set('current_layout', $theme_info->layout);
|
||||
}
|
||||
else
|
||||
{
|
||||
$oModuleModel = getModel('module');
|
||||
$default_mid = $oModuleModel->getDefaultMid();
|
||||
Context::set('current_layout', $default_mid->layout_srl);
|
||||
}
|
||||
// Get current layout information
|
||||
$default_mid = ModuleModel::getDefaultMid();
|
||||
Context::set('current_layout', $default_mid->layout_srl);
|
||||
|
||||
// get default group list
|
||||
$oMemberModel = getModel('member');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue