From 774da418fdf38fae7dbaa40e4a12fdf160abf653 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sat, 18 Sep 2021 14:13:22 +0200 Subject: [PATCH] add hide_dot_files attribute to app/config/app.php and fix a little typo --- app/config/app.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/config/app.php b/app/config/app.php index 1d411ff..56a8942 100644 --- a/app/config/app.php +++ b/app/config/app.php @@ -122,7 +122,7 @@ return [ ], /** - * Whether or not to hide application files/directories form the listing. + * Whether or not to hide application files/directories from the listing. * * Default value: true */ @@ -159,4 +159,12 @@ return [ * Default value: 1000000000 */ 'max_hash_size' => DI\env('MAX_HASH_SIZE', 1000000000), + + /** + * Whether or not to hide dot files/directories from the listing. + * Like '.env' or '.ssh/' + * + * Default value: true + */ + 'hide_dot_files' => DI\env('HIDE_DOT_FILES', true), ];