From a257b0bd427ca5a7eb636d95f98aca831ec075b5 Mon Sep 17 00:00:00 2001 From: Martin Doucha Date: Thu, 14 Jun 2012 16:34:19 +0200 Subject: Cache that has exactly the same age as a dependency may be stale --- inc/cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/cache.php') diff --git a/inc/cache.php b/inc/cache.php index ff78e37ae..e598baa47 100644 --- a/inc/cache.php +++ b/inc/cache.php @@ -69,7 +69,7 @@ class cache { if (!empty($this->depends['files'])) { foreach ($this->depends['files'] as $file) { - if ($this->_time < @filemtime($file)) return false; // cache older than files it depends on? + if ($this->_time <= @filemtime($file)) return false; // cache older than files it depends on? } } -- cgit v1.2.3