From 1a86f86060180265d92ac1815d4ba95638fa1236 Mon Sep 17 00:00:00 2001 From: Lonnie Ezell Date: Sun, 24 Jun 2018 22:28:39 -0500 Subject: [PATCH] RedisHandler for Cache fixes #1079 --- system/Cache/Handlers/RedisHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/Cache/Handlers/RedisHandler.php b/system/Cache/Handlers/RedisHandler.php index 6abd43d6a08a..c4a5984942db 100644 --- a/system/Cache/Handlers/RedisHandler.php +++ b/system/Cache/Handlers/RedisHandler.php @@ -35,7 +35,7 @@ * @since Version 3.0.0 * @filesource */ -use CodeIgniter\CriticalError; +use CodeIgniter\Exceptions\CriticalError; use CodeIgniter\Cache\CacheInterface; class RedisHandler implements CacheInterface @@ -77,7 +77,7 @@ public function __construct($config) if ( ! empty($config)) { - $this->config = array_merge($this->config, $config); + $this->config = array_merge($this->config, $config['redis']); } }