diff options
Diffstat (limited to 'providers')
-rw-r--r-- | providers/Provider.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/Provider.php b/providers/Provider.php index bf85f12..434b1d1 100644 --- a/providers/Provider.php +++ b/providers/Provider.php @@ -30,7 +30,7 @@ abstract class Provider { protected function _getItems() { $cacheFile = sprintf($this->_getCachePath(), $this->_feed); - $this->_cacheTime = file_exists($cacheFile) ? filemtime($cacheFile) : 0; + $this->_cacheTime = file_exists($cacheFile) ? filemtime($cacheFile) : PHP_INT_MIN; if ($this->_cacheTime > strtotime('-' . $this->_cacheTimeout)) { return unserialize($this->_getCache($cacheFile)); } else { |