X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/df0e03cd07db5ff2dbd16a27ccfcc2ca38402e46..refs/pull/5689/head:/app/Config/app.php diff --git a/app/Config/app.php b/app/Config/app.php old mode 100755 new mode 100644 index ea5252f4f..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. @@ -22,7 +25,7 @@ return [ // 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 @@ -31,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