summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorkemeng <kemeng@autohello.com>2015-11-16 11:52:37 +0100
committerkemeng <kemeng@autohello.com>2015-11-16 11:52:37 +0100
commit47c37de5ec5f673b9db13a3c0f4d899fd651d703 (patch)
tree28a106f7d7c1b0af14af2226862b26e9b9e06e93 /system/libraries
parent9703a0bbac81477365da7012a6a47d71c547cf96 (diff)
Spaces around ! . Changelog entry in 3.1.0.
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Session/drivers/Session_redis_driver.php4
1 files changed, 2 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.');
}