X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/dabe79a438f22612e7d68c8d1de7817505b59b93..refs/pull/3153/head:/app/Config/app.php diff --git a/app/Config/app.php b/app/Config/app.php old mode 100755 new mode 100644 index 0d06a9b21..39bfa7134 --- a/app/Config/app.php +++ b/app/Config/app.php @@ -19,23 +19,31 @@ 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), + // 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 + // be removed after this time. + // Set to 0 for no recycle bin functionality. + // 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