모바일 페이지 오류 수정
This commit is contained in:
conory 2019-01-11 15:14:07 +09:00
parent 0a97a0de53
commit f1b2dc6bd0

View file

@ -5,9 +5,6 @@ class pageMobile extends pageView
{ {
function init() function init()
{ {
// Get a template path (page in the administrative template tpl putting together)
$this->setTemplatePath($this->module_path.'tpl');
switch($this->module_info->page_type) switch($this->module_info->page_type)
{ {
case 'WIDGET' : case 'WIDGET' :
@ -45,6 +42,7 @@ class pageMobile extends pageView
Context::set('module_info', $this->module_info); Context::set('module_info', $this->module_info);
Context::set('page_content', $page_content); Context::set('page_content', $page_content);
$this->setTemplatePath($this->module_path . 'tpl');
$this->setTemplateFile('mobile'); $this->setTemplateFile('mobile');
} }