summaryrefslogtreecommitdiffstats
path: root/system/libraries/Cache/drivers
diff options
context:
space:
mode:
authorMasterklavi <masterklavi@gmail.com>2016-03-14 09:36:15 +0100
committerMasterklavi <masterklavi@gmail.com>2016-03-14 09:36:15 +0100
commit7755322d9457b1ba73f27e46e1d1fcfa62b46830 (patch)
treead1df2f49df180e3220e7bd9c1abf3572b042a56 /system/libraries/Cache/drivers
parentf717af46f6ddde60a77e17f7440c12ef0b6c529f (diff)
Fixed brackets
Diffstat (limited to 'system/libraries/Cache/drivers')
-rw-r--r--system/libraries/Cache/drivers/Cache_redis.php2
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
}