mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
Update references to TemplateHandler in common code paths
This commit is contained in:
parent
d46d25c69f
commit
45f016d53b
7 changed files with 9 additions and 11 deletions
|
|
@ -5,8 +5,6 @@ class PageMobile extends PageView
|
|||
{
|
||||
function _getArticleContent()
|
||||
{
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
|
||||
$oDocumentModel = getModel('document');
|
||||
$oDocument = $oDocumentModel->getDocument(0);
|
||||
|
||||
|
|
@ -24,6 +22,7 @@ class PageMobile extends PageView
|
|||
}
|
||||
Context::set('oDocument', $oDocument);
|
||||
|
||||
$oTemplate = Rhymix\Framework\Template::getInstance();
|
||||
$template_path = $this->getTemplatePath();
|
||||
if (preg_match('!/skins/!', $template_path))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue