mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
merging with r8268-8269
git-svn-id: http://xe-core.googlecode.com/svn/trunk@8270 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
69f6d8c24d
commit
312289717d
2 changed files with 2 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ class pageMobile extends ModuleObject {
|
|||
|
||||
if($mtime + $interval*60 > time()) {
|
||||
$page_content = FileHandler::readFile($cache_file);
|
||||
$page_content = preg_replace('@<\!--#Meta:@', '<!--Meta:', $page_content);
|
||||
} else {
|
||||
$oWidgetController = &getController('widget');
|
||||
$page_content = $oWidgetController->transWidgetCode($this->module_info->mcontent);
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@
|
|||
|
||||
if($mtime + $interval*60 > time()) {
|
||||
$page_content = FileHandler::readFile($cache_file);
|
||||
$page_content = preg_replace('@<\!--#Meta:@', '<!--Meta:', $page_content);
|
||||
} else {
|
||||
$oWidgetController = &getController('widget');
|
||||
$page_content = $oWidgetController->transWidgetCode($this->module_info->content);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue