mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 05:42:13 +09:00
Fix default skin handling in page module
This commit is contained in:
parent
7b16ee31c3
commit
ed557883c7
2 changed files with 5 additions and 15 deletions
|
|
@ -154,8 +154,7 @@ class PageView extends Page
|
|||
}
|
||||
Context::set('oDocument', $oDocument);
|
||||
|
||||
$templatePath = sprintf('%sskins/%s', $this->module_path, $this->module_info->skin ?: 'default');
|
||||
$page_content = $oTemplate->compile($templatePath, 'content');
|
||||
$page_content = $oTemplate->compile($this->getTemplatePath(), 'content');
|
||||
|
||||
return $page_content;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue