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