From 456afdcd4c9a724ad50b4bddbe4812ccccd9606a Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sun, 23 Dec 2018 16:26:39 +0000 Subject: [PATCH] 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. --- config/app.php | 207 ++++++++++-------------------------- config/auth.php | 92 +++++----------- config/broadcasting.php | 38 +++---- config/cache.php | 46 +++----- config/compile.php | 35 ------ config/database.php | 82 ++++---------- config/dompdf.php | 18 ++-- config/filesystems.php | 67 +++--------- config/mail.php | 123 ++++----------------- config/queue.php | 48 +++------ config/services.php | 24 ++--- config/session.php | 194 ++++++++------------------------- config/setting-defaults.php | 21 ++-- config/snappy.php | 8 ++ config/view.php | 54 ++++------ 15 files changed, 287 insertions(+), 770 deletions(-) delete mode 100644 config/compile.php 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