Skip to content

Commit

Permalink
Merge pull request laravel#68 from Lidbetter/5.0
Browse files Browse the repository at this point in the history
Added env to redis connection
  • Loading branch information
taylorotwell committed Apr 30, 2015
2 parents 096931f + d23ae5c commit e8adf01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@

'redis' => [

'cluster' => false,
'cluster' => env('REDIS_CLUSTER', false),

'default' => [
'host' => '127.0.0.1',
'port' => 6379,
'host' => env('REDIS_HOST', '127.0.0.1'),
'port' => env('REDIS_PORT', 6379),
'database' => 0,
],

Expand Down

0 comments on commit e8adf01

Please sign in to comment.