diff options
author | Andrey Andreev <narf@devilix.net> | 2019-04-23 13:16:40 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2019-04-23 13:16:40 +0200 |
commit | 3c6787881fa7aa854155cc5820b799b4a80cbb57 (patch) | |
tree | b98200af055d6c8dcb57e3343e1fab859d58f295 /system/libraries/Session/Session_driver.php | |
parent | 687e3728250ec74946050b04a384546fedf1fe70 (diff) |
[ci skip] Fix #5703
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; - } } |