summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorIvan Tcholakov <ivantcholakov@gmail.com>2015-04-23 22:21:08 +0200
committerIvan Tcholakov <ivantcholakov@gmail.com>2015-04-23 22:21:08 +0200
commitfd1bc2213f158ae9368a3d85dc108f641dd566bf (patch)
treedf9b063b1b15a30ea31b76efb5c76be0cac23a92 /system
parent6a03ef29bef639b7d08cee0477f5ca62907fba7d (diff)
Output cache: Fixing a wrong timestamp. Credits to khoggatt (CodeIgniter forum).
Diffstat (limited to 'system')
-rw-r--r--system/core/Output.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Output.php b/system/core/Output.php
index 02f66936c..e7d559a1d 100644
--- a/system/core/Output.php
+++ b/system/core/Output.php
@@ -674,7 +674,7 @@ class CI_Output {
$cache_info = unserialize($match[1]);
$expire = $cache_info['expire'];
- $last_modified = filemtime($cache_path);
+ $last_modified = filemtime($filepath);
// Has the file expired?
if ($_SERVER['REQUEST_TIME'] >= $expire && is_really_writable($cache_path))