X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/263384cf99864ebdb0408fd4e478f783aa487c1a..refs/pull/3593/head:/app/Config/filesystems.php diff --git a/app/Config/filesystems.php b/app/Config/filesystems.php index a6b05c8c4..493d53bfa 100644 --- a/app/Config/filesystems.php +++ b/app/Config/filesystems.php @@ -25,16 +25,14 @@ return [ // file storage service, such as s3, to store publicly accessible assets. 'url' => env('STORAGE_URL', false), - // Default Cloud Filesystem Disk - 'cloud' => 's3', - // Available filesystem disks // Only local, local_secure & s3 are supported by BookStack 'disks' => [ 'local' => [ - 'driver' => 'local', - 'root' => public_path(), + 'driver' => 'local', + 'root' => public_path(), + 'visibility' => 'public', ], 'local_secure_attachments' => [ @@ -43,8 +41,9 @@ return [ ], 'local_secure_images' => [ - 'driver' => 'local', - 'root' => storage_path('uploads/images/'), + 'driver' => 'local', + 'root' => storage_path('uploads/images/'), + 'visibility' => 'public', ], 's3' => [ @@ -59,4 +58,12 @@ return [ ], + // Symbolic Links + // Here you may configure the symbolic links that will be created when the + // `storage:link` Artisan command is executed. The array keys should be + // the locations of the links and the values should be their targets. + 'links' => [ + public_path('storage') => storage_path('app/public'), + ], + ];