mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-21 03:12:55 +09:00
issue 2302, fixed a widget page cache problem
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11087 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bba2025a46
commit
467e4ebd69
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@
|
|||
if(!file_exists($this->cache_file)) $mtime = 0;
|
||||
else $mtime = filemtime($this->cache_file);
|
||||
|
||||
if($mtime + $interval*60 > time()) {
|
||||
if($mtime + $this->interval*60 > time()) {
|
||||
$page_content = FileHandler::readFile($this->cache_file);
|
||||
$page_content = preg_replace('@<\!--#Meta:@', '<!--Meta:', $page_content);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue