Browse Source

Merge pull request #4236 from caiquecastro/master

Allow filesystem to be changed on config
Taylor Otwell 7 years ago
parent
commit
859479a033
1 changed files with 2 additions and 2 deletions
  1. 2 2
      config/filesystems.php

+ 2 - 2
config/filesystems.php

@@ -13,7 +13,7 @@ return [
     |
     */
 
-    'default' => 'local',
+    'default' => env('FILESYSTEM_DRIVER', 'local'),
 
     /*
     |--------------------------------------------------------------------------
@@ -26,7 +26,7 @@ return [
     |
     */
 
-    'cloud' => 's3',
+    'cloud' => env('FILESYSTEM_CLOUD', 's3'),
 
     /*
     |--------------------------------------------------------------------------