From da703055b3dfb0220a15e339a449b95516bf3413 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 4 Jun 2021 18:14:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Cache/Redis.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }