diff --git a/Cache.php b/Cache.php index 4c4d15a..d40a1c2 100755 --- a/Cache.php +++ b/Cache.php @@ -201,7 +201,7 @@ protected function checkConditions($cacheFile, array $conditions = array()) case 'youngerthan': // Return false if the file is older than the file $value, or the files $value $check = function($filename) use ($cacheFile) { - return !file_exists($filename) || filectime($cacheFile) < filectime($filename); + return !file_exists($filename) || filemtime($cacheFile) < filemtime($filename); }; if (!is_array($value)) {