mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
Fix mobile external page path
This commit is contained in:
parent
5746c858ba
commit
5b195ce16e
1 changed files with 8 additions and 1 deletions
|
|
@ -36,7 +36,14 @@ class pageView extends page
|
|||
if ($this->module_info->page_type === 'OUTSIDE')
|
||||
{
|
||||
$this->interval = (int)($this->module_info->page_caching_interval ?? 0);
|
||||
$this->path = $this->module_info->path ?? '';
|
||||
if ($this instanceof pageMobile)
|
||||
{
|
||||
$this->path = ($this->module_info->mpath ?? '') ?: ($this->module_info->path ?? '');
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->path = ($this->module_info->path ?? '');
|
||||
}
|
||||
$this->proc_php = (isset($this->module_info->opage_proc_php) && $this->module_info->opage_proc_php === 'N') ? false : true;
|
||||
$this->proc_tpl = (isset($this->module_info->opage_proc_tpl) && $this->module_info->opage_proc_tpl === 'Y') ? true : false;
|
||||
$this->cache_file = vsprintf('%sfiles/cache/opage/%d.%s.%s.%s.%s.cache.php', [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue