summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-04-25 00:57:04 +0200
committerAndrey Andreev <narf@devilix.net>2015-04-25 00:57:04 +0200
commite6be7621854f59e00251036611ca19a159ac4319 (patch)
tree5db508cc2528a5d597fc78b67c0391154943ea03 /system
parent6a03ef29bef639b7d08cee0477f5ca62907fba7d (diff)
parentd593535a2a80c7e1a13e31b6fe94684b42e8a306 (diff)
Merge pull request #3801 from ivantcholakov/develop
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))