X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/a6633642232efd164d4708967ab59e498fbff896..refs/pull/5349/head:/app/Config/app.php diff --git a/app/Config/app.php b/app/Config/app.php old mode 100755 new mode 100644 index 762845e9f..b96d0bdb7 --- a/app/Config/app.php +++ b/app/Config/app.php @@ -8,6 +8,9 @@ * Do not edit this file unless you're happy to maintain any changes yourself. */ +use Illuminate\Support\Facades\Facade; +use Illuminate\Support\ServiceProvider; + return [ // The environment to run BookStack in. @@ -19,17 +22,10 @@ return [ // private configuration variables so should remain disabled in public. 'debug' => env('APP_DEBUG', false), - // Set the default view type for various lists. Can be overridden by user preferences. - // These will be used for public viewers and users that have not set a preference. - 'views' => [ - 'books' => env('APP_VIEWS_BOOKS', 'list'), - 'bookshelves' => env('APP_VIEWS_BOOKSHELVES', 'grid'), - ], - // The number of revisions to keep in the database. // Once this limit is reached older revisions will be deleted. // If set to false then a limit will not be enforced. - 'revision_limit' => env('REVISION_LIMIT', 50), + 'revision_limit' => env('REVISION_LIMIT', 100), // The number of days that content will remain in the recycle bin before // being considered for auto-removal. It is not a guarantee that content will @@ -38,11 +34,19 @@ return [ // Set to -1 for unlimited recycle bin lifetime. 'recycle_bin_lifetime' => env('RECYCLE_BIN_LIFETIME', 30), + // The limit for all uploaded files, including images and attachments in MB. + 'upload_limit' => env('FILE_UPLOAD_SIZE_LIMIT', 50), + // Allow