]> BookStack Code Mirror - bookstack/blobdiff - app/Config/filesystems.php
respective book and chapter structure added.
[bookstack] / app / Config / filesystems.php
index 493d53bfa2d0fba618031be0402d4b48b123913a..1319c8886f63bf4bf5312b90fadf242ee084599f 100644 (file)
@@ -33,17 +33,20 @@ return [
             'driver'     => 'local',
             'root'       => public_path(),
             'visibility' => 'public',
+            'throw'      => true,
         ],
 
         'local_secure_attachments' => [
             'driver' => 'local',
             'root'   => storage_path('uploads/files/'),
+            'throw'  => true,
         ],
 
         'local_secure_images' => [
             'driver'     => 'local',
             'root'       => storage_path('uploads/images/'),
             'visibility' => 'public',
+            'throw'      => true,
         ],
 
         's3' => [
@@ -54,6 +57,8 @@ return [
             'bucket'                  => env('STORAGE_S3_BUCKET', 'your-bucket'),
             'endpoint'                => env('STORAGE_S3_ENDPOINT', null),
             'use_path_style_endpoint' => env('STORAGE_S3_ENDPOINT', null) !== null,
+            'throw'                   => true,
+            'stream_reads'            => false,
         ],
 
     ],