summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session
diff options
context:
space:
mode:
authorMarcos SF Filho <sffmarcos142009z@gmail.com>2014-08-11 15:11:57 +0200
committerAndrey Andreev <narf@devilix.net>2014-08-11 15:25:56 +0200
commit85f0c558ca2f47453ce7e8ae767451f5c0045479 (patch)
tree82ef7757de55aad7c560ebae9ffc4d34b59163d6 /system/libraries/Session
parente86603fb4eb218077e255d76a638a3e545e2fd0c (diff)
Added file path for file GC
Diffstat (limited to 'system/libraries/Session')
-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 f95edcf2c..7779e9beb 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->_save_path.DIRECTORY_SEPARATOR.$file)
- OR ($mtime = filemtime($file)) === FALSE
+ OR ($mtime = filemtime($this->_save_path.DIRECTORY_SEPARATOR.$file)) === FALSE
OR $mtime > $ts)
{
continue;