Skip to content

Commit 8df6efd

Browse files
committed
1 parent 71a65c3 commit 8df6efd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

system/libraries/Session/drivers/Session_files_driver.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,12 @@ public function read($session_id)
183183
return '';
184184
}
185185
}
186+
// We shouldn't need this, but apparently we do ...
187+
// See https://github.com/bcit-ci/CodeIgniter/issues/4039
188+
elseif ($this->_file_handler === FALSE)
189+
{
190+
return FALSE;
191+
}
186192
else
187193
{
188194
rewind($this->_file_handle);

0 commit comments

Comments
 (0)