From 98cc4aa5e4a81ff947dc7208ef921110396a70ea Mon Sep 17 00:00:00 2001 From: lalov Date: Fri, 4 Jan 2019 15:07:59 +0100 Subject: [PATCH] Use database from config --- pkg/redis/PRedis.php | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/redis/PRedis.php b/pkg/redis/PRedis.php index 9115e677a..f76ad3efd 100644 --- a/pkg/redis/PRedis.php +++ b/pkg/redis/PRedis.php @@ -41,6 +41,7 @@ public function __construct(array $config) 'host' => $config['host'], 'port' => $config['port'], 'password' => $config['password'], + 'database' => $config['database'], 'path' => $config['path'], 'async' => $config['async'], 'persistent' => $config['persistent'],