1 Commits
1.0.2 ... 1.0.3

Author SHA1 Message Date
macintoshplus
e2de4cdd23 Add auth for redis 2015-10-12 13:42:45 +02:00

View File

@@ -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);
}