diff --git a/System/Cache/Redis.php b/System/Cache/Redis.php index c4228670..5cdab9ca 100644 --- a/System/Cache/Redis.php +++ b/System/Cache/Redis.php @@ -143,8 +143,8 @@ SCRIPT; if (!($client instanceof \Redis)) { throw new Exception('Redis connections more.'); } - $client->select($client['databases']); - $client->_prefix($client['prefix']); + $client->select($config['databases']); + $client->_prefix($config['prefix']); return $client; }