Adding fix for #1993

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4377 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-02-01 03:34:32 +00:00
parent 67ee75dba4
commit 450a95f4a1

View file

@ -1051,7 +1051,7 @@
$timediff = $expires - $now;
$filetime = @filemtime($filename);
if ($data == null) {
if ($data === null) {
// Read data from file
if (file_exists($filename) && $filetime !== false) {
if ($filetime + $timediff < $now) {