Browse Source

fix problems

Taylor Otwell 8 years ago
parent
commit
4fba29c0ec
2 changed files with 5 additions and 5 deletions
  1. 4 4
      .env.example
  2. 1 1
      config/database.php

+ 4 - 4
.env.example

@@ -11,13 +11,13 @@ CACHE_DRIVER=file
 SESSION_DRIVER=file
 QUEUE_DRIVER=sync
 
+REDIS_HOST=localhost
+REDIS_PASSWORD=null
+REDIS_PORT=6379
+
 MAIL_DRIVER=smtp
 MAIL_HOST=mailtrap.io
 MAIL_PORT=2525
 MAIL_USERNAME=null
 MAIL_PASSWORD=null
 MAIL_ENCRYPTION=null
-
-REDIS_HOST=localhost
-REDiS_KEY=
-REDIS_PORT=6379

+ 1 - 1
config/database.php

@@ -117,7 +117,7 @@ return [
 
         'default' => [
             'host'     => env('REDIS_HOST', 'localhost'),
-            'password' => env('REDIS_KEY', ''),
+            'password' => env('REDIS_PASSWORD', ''),
             'port'     => env('REDIS_PORT', 6379),
             'database' => 0,
         ],