diff options
author | Florian Pritz <bluewind@xinu.at> | 2019-09-27 22:38:06 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2019-09-27 22:38:06 +0200 |
commit | 9067e097cc335b4ec207d7c8c6a819741446a163 (patch) | |
tree | 3770e3d890ae5d968a1873ff55c40cedcc5a88af /system/libraries/Session/Session_driver.php | |
parent | 3db68e2e947b6299a15ed5277b65b49ad1768415 (diff) | |
parent | b73eb19aed66190c10c9cad476da7c36c271d6dc (diff) |
Merge tag '3.1.11' of git://github.com/bcit-ci/CodeIgniter into dev
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'system/libraries/Session/Session_driver.php')
-rw-r--r-- | system/libraries/Session/Session_driver.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/system/libraries/Session/Session_driver.php b/system/libraries/Session/Session_driver.php index 14ebdb09f..dbc833739 100644 --- a/system/libraries/Session/Session_driver.php +++ b/system/libraries/Session/Session_driver.php @@ -184,25 +184,4 @@ abstract class CI_Session_driver implements SessionHandlerInterface { return TRUE; } - - // ------------------------------------------------------------------------ - - /** - * Fail - * - * Drivers other than the 'files' one don't (need to) use the - * session.save_path INI setting, but that leads to confusing - * error messages emitted by PHP when open() or write() fail, - * as the message contains session.save_path ... - * To work around the problem, the drivers will call this method - * so that the INI is set just in time for the error message to - * be properly generated. - * - * @return mixed - */ - protected function _fail() - { - ini_set('session.save_path', config_item('sess_save_path')); - return $this->_failure; - } } |