mirror of
https://github.com/idanoo/laravel-resque.git
synced 2024-11-21 16:11:59 +00:00
Merge branch 'hotfix/0.2.3'
This commit is contained in:
commit
17f9d2a176
@ -57,7 +57,7 @@ class ResqueServiceProvider extends ServiceProvider
|
|||||||
|
|
||||||
$server = implode(':', [$host, $port]);
|
$server = implode(':', [$host, $port]);
|
||||||
if ($password) {
|
if ($password) {
|
||||||
$server = implode('@', [$password, $server]);
|
$server = implode('@', [implode(':', ['', $password]), $server]);
|
||||||
}
|
}
|
||||||
|
|
||||||
$dsn = sprintf('redis://%s/%s', $server, $database);
|
$dsn = sprintf('redis://%s/%s', $server, $database);
|
||||||
|
Loading…
Reference in New Issue
Block a user