mirror of
https://github.com/DirectoryLister/DirectoryLister.git
synced 2025-08-25 06:51:18 +02:00
Simplified .hidden file definition in app config and added an environment variable
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user