summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-10-31 22:36:08 +0100
committerAndrey Andreev <narf@devilix.net>2014-10-31 22:36:08 +0100
commitd46c37059f07433a56c90fa785f3067836256300 (patch)
tree0a72e1ecfa09d9565479c73042a566c398cd4d53 /system/libraries
parent7474a6799b44e4988b6a7a4adcc2901ec0b993b4 (diff)
parentcd489611cf2d4e7ba7f5afb370a4b8a01f71c5bc (diff)
Merge branch 'feature/session' of github.com:bcit-ci/CodeIgniter into feature/session
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Session/drivers/Session_files_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Session/drivers/Session_files_driver.php b/system/libraries/Session/drivers/Session_files_driver.php
index 3d6fa6322..973337753 100644
--- a/system/libraries/Session/drivers/Session_files_driver.php
+++ b/system/libraries/Session/drivers/Session_files_driver.php
@@ -269,7 +269,7 @@ class CI_Session_files_driver extends CI_Session_driver implements SessionHandle
// If the filename doesn't match this pattern, it's either not a session file or is not ours
if ( ! preg_match('/(?:[0-9a-f]{32})?[0-9a-f]{40}$/i', $file)
OR ! is_file($this->_config['save_path'].DIRECTORY_SEPARATOR.$file)
- OR ($mtime = fileatime($this->_config['save_path'].DIRECTORY_SEPARATOR.$file)) === FALSE
+ OR ($mtime = filemtime($this->_config['save_path'].DIRECTORY_SEPARATOR.$file)) === FALSE
OR $mtime > $ts)
{
continue;