Browse Source

add `links` option to filesystems config

https://github.com/laravel/framework/pull/31355
Andrew Brown 4 years ago
parent
commit
153746c2c1
1 changed files with 15 additions and 0 deletions
  1. 15 0
      config/filesystems.php

+ 15 - 0
config/filesystems.php

@@ -65,5 +65,20 @@ return [
         ],
 
     ],
+    
+    /*
+    |--------------------------------------------------------------------------
+    | Symbolic Links
+    |--------------------------------------------------------------------------
+    |
+    | Here you may configure as many symbolic links as you wish for your
+    | application. The key is the symbolic link and the value is the
+    | target path. Use the `storage:link` command to generate them.
+    |
+    */
+    
+    'links' => [
+        public_path('storage') => storage_path('app/public'),
+    ],
 
 ];