mirror of
https://github.com/DirectoryLister/DirectoryLister.git
synced 2025-09-01 18:03:29 +02:00
Updated config files
This commit is contained in:
@@ -1,18 +1,56 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/**
|
||||
* The root directory to list.
|
||||
*
|
||||
* Default value: '.'
|
||||
*/
|
||||
'root' => '.',
|
||||
|
||||
/**
|
||||
* Whether or not to list folders before regular files.
|
||||
*
|
||||
* Possible values: true, false
|
||||
* Default value: true
|
||||
*/
|
||||
'list_folders_first' => true,
|
||||
|
||||
'list_sort_order' => 'natcasesort',
|
||||
/**
|
||||
* Sorting order of files.
|
||||
*
|
||||
* Possible values: foo, bar, baz
|
||||
* Default value: natcasesort
|
||||
*/
|
||||
'sort_order' => 'natcasesort',
|
||||
|
||||
/**
|
||||
* Name of the theme to use for styling the application.
|
||||
*
|
||||
* Default value: default
|
||||
*/
|
||||
'theme' => 'default',
|
||||
|
||||
/**
|
||||
* Description here...
|
||||
*
|
||||
* Default value: 'Y-m-d H:i:s'
|
||||
*/
|
||||
'date_format' => 'Y-m-d H:i:s',
|
||||
|
||||
/**
|
||||
* Description here...
|
||||
*
|
||||
* Default value: []
|
||||
*/
|
||||
'hidden_files' => [
|
||||
'some.file', // Files
|
||||
'some_dir', // Directories
|
||||
'**/.ht*', // Globs
|
||||
'/^.ht*$/', // Regular expressions
|
||||
// ...
|
||||
],
|
||||
|
||||
/**
|
||||
* Hide version control system files (e.g. .git directories) from listing.
|
||||
*
|
||||
* Default value: true
|
||||
*/
|
||||
'ignore_vcs_files' => true,
|
||||
];
|
||||
|
@@ -1,5 +1,10 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// ...
|
||||
/**
|
||||
* Path to the view cache directory.
|
||||
*
|
||||
* Default value: 'app/cache/views'
|
||||
*/
|
||||
'view_cache' => env('VIEW_CACHE', 'app/cache/views'),
|
||||
];
|
||||
|
Reference in New Issue
Block a user