diff --git a/common/lib/vendor/yiisoft/yii/framework/caching/CFileCache.php b/common/lib/vendor/yiisoft/yii/framework/caching/CFileCache.php index f8ed789..5475fc6 100644 --- a/common/lib/vendor/yiisoft/yii/framework/caching/CFileCache.php +++ b/common/lib/vendor/yiisoft/yii/framework/caching/CFileCache.php @@ -113,7 +113,7 @@ protected function getValue($key) { $cacheFile=$this->getCacheFile($key); if(($time=$this->filemtime($cacheFile))>time()) - return @file_get_contents($cacheFile,false,null,$this->embedExpiry ? 10 : -1); + return @file_get_contents($cacheFile,false,null,$this->embedExpiry ? 10 : 0); elseif($time>0) @unlink($cacheFile); return false;