// MERGE with 1.4 r7770
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7776 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -39,7 +39,7 @@ class WidgetCache
|
||||
public function isFresh($timeout = 10800)
|
||||
{
|
||||
if (file_exists($this->_fileName))
|
||||
return ((mktime() - filemtime($this->_fileName)) < $timeout);
|
||||
return ((time() - filemtime($this->_fileName)) < $timeout);
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user