X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/080acf0a6234952b4eac1df59e9c11d3be04074b..refs/pull/806/head:/config/app.php diff --git a/config/app.php b/config/app.php old mode 100644 new mode 100755 index 650ad1d07..69e2380e8 --- a/config/app.php +++ b/config/app.php @@ -2,9 +2,30 @@ return [ - 'env' => 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. + */ + 'views' => [ + 'books' => env('APP_VIEWS_BOOKS', 'list') + ], + + /** + * Allow