Fix #1665 external page not loaded in mobile if mobile page path is not set, contrary to documentation

This commit is contained in:
Kijin Sung 2021-03-29 20:24:36 +09:00
parent b3725443c5
commit bff045f585

View file

@ -17,7 +17,7 @@ class pageMobile extends pageView
{
$this->cache_file = sprintf("./files/cache/opage/%d.%s.m.cache.php", $this->module_info->module_srl, Context::getSslStatus());
$this->interval = (int)($this->module_info->page_caching_interval);
$this->path = $this->module_info->mpath;
$this->path = $this->module_info->mpath ?: $this->module_info->path;
break;
}
}