diff --git a/kiri-engine/Cache/Base/Redis.php b/kiri-engine/Cache/Base/Redis.php index a3abd50f..ee1d203a 100644 --- a/kiri-engine/Cache/Base/Redis.php +++ b/kiri-engine/Cache/Base/Redis.php @@ -50,7 +50,7 @@ class Redis implements StopHeartbeatCheck { $this->host = $config['host']; $this->port = $config['port']; - $this->database = $config['database']; + $this->database = $config['databases']; $this->auth = $config['auth']; $this->prefix = $config['prefix']; $this->timeout = $config['timeout'];