mirror of
https://github.com/filegator/filegator.git
synced 2025-08-01 06:00:28 +02:00
docs for filter_entries
This commit is contained in:
@@ -24,6 +24,12 @@ Note: if you've made a mistake in configuration file (forgot to close a quote?)
|
|||||||
'editable' => ['.txt', '.css', '.js', '.ts', '.html', '.php', '.json', '.md'],
|
'editable' => ['.txt', '.css', '.js', '.ts', '.html', '.php', '.json', '.md'],
|
||||||
'date_format' => 'YY/MM/DD hh:mm:ss', // see: https://momentjs.com/docs/#/displaying/format/
|
'date_format' => 'YY/MM/DD hh:mm:ss', // see: https://momentjs.com/docs/#/displaying/format/
|
||||||
'guest_redirection' => '', // useful for external auth adapters
|
'guest_redirection' => '', // useful for external auth adapters
|
||||||
|
|
||||||
|
// filter starts with separator => full path has to match, example: '/all/one/filegator/demo.txt'
|
||||||
|
// filter ends with separator => filter only folders (a file with the same name will be shown), example: '.git/'
|
||||||
|
// neither of above => it is a file and could be in every folder, example: '.htaccess'
|
||||||
|
// both of above => full folder path has to match, example: '/homes/web/filegator/.npm/'
|
||||||
|
'filter_entries' => ['Recycle.bin/', 'File System Information/', '.DS_Store', '@eaDir/', '#recycle/'],
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user