From: Dan Brown Date: Sun, 23 Dec 2018 16:26:39 +0000 (+0000) Subject: Updated configuration files X-Git-Tag: v0.25.0~1^2~8 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/456afdcd4c9a724ad50b4bddbe4812ccccd9606a?ds=inline;hp=--cc Updated configuration files Added a notice to the top of each to explain they should not be normally modified. Standardised comment format used for each item. Better aligned some files with laravel 5.5 options. --- 456afdcd4c9a724ad50b4bddbe4812ccccd9606a diff --git a/config/app.php b/config/app.php index 3a704e83c..e2885d196 100755 --- a/config/app.php +++ b/config/app.php @@ -1,175 +1,84 @@ env('APP_ENV', 'production'), - /** - * Set the default view type for various lists. Can be overridden by user preferences. - * This will be used for public viewers and users that have not set a preference. - */ + // Enter the application in debug mode. + // Shows much more verbose error messages. Has potential to show + // 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') ], - /** - * 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. - */ + // 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), - /** - * Allow