X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/c88096b7e2fbcc33dd8a66a3235ff4e9d42df715..refs/pull/651/head:/config/filesystems.php diff --git a/config/filesystems.php b/config/filesystems.php index 5fd3df6df..836f68d3d 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -15,7 +15,18 @@ return [ | */ - 'default' => 'local', + 'default' => env('STORAGE_TYPE', 'local'), + + /* + |-------------------------------------------------------------------------- + | Storage URL + |-------------------------------------------------------------------------- + | + | This is the url to where the storage is located for when using an external + | file storage service, such as s3, to store publicly accessible assets. + | + */ + 'url' => env('STORAGE_URL', false), /* |-------------------------------------------------------------------------- @@ -45,7 +56,7 @@ return [ 'local' => [ 'driver' => 'local', - 'root' => public_path(), + 'root' => base_path(), ], 'ftp' => [