diff options
author | kemeng <kemeng@autohello.com> | 2015-11-16 11:52:37 +0100 |
---|---|---|
committer | kemeng <kemeng@autohello.com> | 2015-11-16 11:52:37 +0100 |
commit | 47c37de5ec5f673b9db13a3c0f4d899fd651d703 (patch) | |
tree | 28a106f7d7c1b0af14af2226862b26e9b9e06e93 | |
parent | 9703a0bbac81477365da7012a6a47d71c547cf96 (diff) |
Spaces around ! . Changelog entry in 3.1.0.
-rw-r--r-- | system/libraries/Session/drivers/Session_redis_driver.php | 4 | ||||
-rw-r--r-- | user_guide_src/source/changelog.rst | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/system/libraries/Session/drivers/Session_redis_driver.php b/system/libraries/Session/drivers/Session_redis_driver.php index fe82ca917..44ffddc4b 100644 --- a/system/libraries/Session/drivers/Session_redis_driver.php +++ b/system/libraries/Session/drivers/Session_redis_driver.php @@ -144,12 +144,12 @@ class CI_Session_redis_driver extends CI_Session_driver implements SessionHandle $redis = new Redis(); if ($this->_config['save_path']['type'] == 'unix') { - if (! $redis->connect($this->_config['save_path']['path'])) + if ( ! $redis->connect($this->_config['save_path']['path'])) { log_message('error', 'Session: Unable to connect to Redis with the configured settings.'); } } - elseif (! $redis->connect($this->_config['save_path']['host'], $this->_config['save_path']['port'], $this->_config['save_path']['timeout'])) + elseif ( ! $redis->connect($this->_config['save_path']['host'], $this->_config['save_path']['port'], $this->_config['save_path']['timeout'])) { log_message('error', 'Session: Unable to connect to Redis with the configured settings.'); } diff --git a/user_guide_src/source/changelog.rst b/user_guide_src/source/changelog.rst index 77ccd7ce7..6c11bf3d7 100644 --- a/user_guide_src/source/changelog.rst +++ b/user_guide_src/source/changelog.rst @@ -7,6 +7,11 @@ Version 3.1.0 Release Date: Not Released +- Session + + - Add unix socket support to redis session driver. + + Version 3.0.4 ============= |