Skip to content
Snippets Groups Projects
Commit a257b0bd authored by Martin Doucha's avatar Martin Doucha
Browse files

Cache that has exactly the same age as a dependency may be stale

parent b2a83e66
No related branches found
No related tags found
No related merge requests found
......@@ -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?
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment