diff options
author | Andrey Andreev <narf@devilix.net> | 2014-10-27 15:09:01 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-10-27 15:09:01 +0100 |
commit | cd489611cf2d4e7ba7f5afb370a4b8a01f71c5bc (patch) | |
tree | f45871ddcebcfe029e4225d1ef99ab5d37c6c84e /system/libraries | |
parent | c6e50989480d5e9a9847177b8dc7cefa6559329a (diff) |
Revert "#3073 (feature/session): Fix a GC issue with the files driver"
This reverts commit c5519ce166943b744bbea75a87831132aced4247.
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Session/drivers/Session_files_driver.php | 2 |
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 ff1553f84..a4f1b9f2f 100644 --- a/system/libraries/Session/drivers/Session_files_driver.php +++ b/system/libraries/Session/drivers/Session_files_driver.php @@ -261,7 +261,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; |