mirror of
https://github.com/Mactronique/phpcache.git
synced 2026-03-24 17:02:12 +01:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e2de4cdd23 |
@@ -113,6 +113,10 @@ class RedisDriver implements Driver
|
||||
throw new ServerException('Error Unable to connect to server');
|
||||
}
|
||||
|
||||
if (!empty($password)) {
|
||||
$this->client->auth($password);
|
||||
}
|
||||
|
||||
if (null !== $database) {
|
||||
$this->client->select($database);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user