diff options
author | Masterklavi <masterklavi@gmail.com> | 2016-03-14 09:36:15 +0100 |
---|---|---|
committer | Masterklavi <masterklavi@gmail.com> | 2016-03-14 09:36:15 +0100 |
commit | 7755322d9457b1ba73f27e46e1d1fcfa62b46830 (patch) | |
tree | ad1df2f49df180e3220e7bd9c1abf3572b042a56 /system/libraries/Cache/drivers | |
parent | f717af46f6ddde60a77e17f7440c12ef0b6c529f (diff) |
Fixed brackets
Diffstat (limited to 'system/libraries/Cache/drivers')
-rw-r--r-- | system/libraries/Cache/drivers/Cache_redis.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Cache/drivers/Cache_redis.php b/system/libraries/Cache/drivers/Cache_redis.php index b55d8bf25..bae46bab4 100644 --- a/system/libraries/Cache/drivers/Cache_redis.php +++ b/system/libraries/Cache/drivers/Cache_redis.php @@ -104,7 +104,7 @@ class CI_Cache_redis extends CI_Driver try { - if ($config['host']{0} === '/') + if ($config['host'][0] === '/') { $config['port'] = 0; // for unix domain socket } |