mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix backward compatibility with admin module
This commit is contained in:
parent
9c424f2d6f
commit
a95ef14b8d
5 changed files with 46 additions and 20 deletions
|
|
@ -581,8 +581,7 @@ class ModuleHandler extends Handler
|
|||
// Admin page layout
|
||||
if($this->module == 'admin' && $type == 'view' && $this->act != 'dispLayoutAdminLayoutModify')
|
||||
{
|
||||
$oAdminView = getAdminView('admin');
|
||||
$oAdminView->makeGnbUrl($forward->module);
|
||||
Rhymix\Modules\Admin\Controllers\Base::getInstance()->loadAdminMenu($forward->module);
|
||||
$oModule->setLayoutPath("./modules/admin/tpl");
|
||||
$oModule->setLayoutFile("layout.html");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue