From a46e7ff7824b09841f3d49012f6c87d4f7414f4c Mon Sep 17 00:00:00 2001 From: Chris Kankiewicz Date: Tue, 7 Apr 2020 15:50:39 -0700 Subject: [PATCH] Simplified .hidden file definition in app config and added an environment variable --- app/config/app.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/config/app.php b/app/config/app.php index 4b8a107..d0afb25 100644 --- a/app/config/app.php +++ b/app/config/app.php @@ -71,9 +71,9 @@ return [ /** * File used by 'hidden_files' to define the list of hidden files. * - * Default value: '{base_path}/.hidden' + * Default value: '.hidden' */ - 'hidden_files_list' => DI\string('{base_path}/.hidden'), + 'hidden_files_list' => Helpers::env('HIDDEN_FILES_LIST', '.hidden'), /** * Array of files that will be hidden from the listing. Supports glob