This commit is contained in:
2021-06-04 18:14:51 +08:00
parent 78bc474f2b
commit da703055b3
+2 -2
View File
@@ -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;
}