diff options
author | Andrey Andreev <narf@devilix.net> | 2019-06-19 15:10:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-19 15:10:51 +0200 |
commit | 255907cd5e5c8bd34fb6e0e57343084b6225d002 (patch) | |
tree | c245db67b3c0abbd88b3a455478103559d12d17d /system/libraries | |
parent | 9ffd233ba6b890ff034e985d1d87969c8dc755a7 (diff) | |
parent | e0bdd367067a8231a4c2a8c9589c2e286b6fde6f (diff) |
[ci skip] Merge pull request #5781 from gxgpet/develop
Fixes php5_validate_id() method calling from Redis session driver
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Session/drivers/Session_redis_driver.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/system/libraries/Session/drivers/Session_redis_driver.php b/system/libraries/Session/drivers/Session_redis_driver.php index c90e94bd3..9ff6a0e1f 100644 --- a/system/libraries/Session/drivers/Session_redis_driver.php +++ b/system/libraries/Session/drivers/Session_redis_driver.php @@ -168,6 +168,7 @@ class CI_Session_redis_driver extends CI_Session_driver implements SessionHandle } else { + $this->php5_validate_id(); $this->_redis = $redis; return $this->_success; } @@ -177,8 +178,6 @@ class CI_Session_redis_driver extends CI_Session_driver implements SessionHandle log_message('error', 'Session: Unable to connect to Redis with the configured settings.'); } - $this->php5_validate_id(); - return $this->_fail(); } |