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:
flyskyko 2012-08-27 04:29:30 +00:00
parent bba2025a46
commit 467e4ebd69

View file

@ -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 {