Skip to content

Commit 98cc4aa

Browse files
authored
Use database from config
1 parent 969fc86 commit 98cc4aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/redis/PRedis.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public function __construct(array $config)
4141
'host' => $config['host'],
4242
'port' => $config['port'],
4343
'password' => $config['password'],
44+
'database' => $config['database'],
4445
'path' => $config['path'],
4546
'async' => $config['async'],
4647
'persistent' => $config['persistent'],

0 commit comments

Comments
 (0)