@@ -19,12 +19,15 @@ In `config/lfm.php` :
1919 // true : filter filename characters which are not alphanumeric, and replace them with '_'
2020 'alphanumeric_filename' => true,
2121
22+ // true : filter folder name characters which are not alphanumeric, and replace them with '_'
23+ 'alphanumeric_directory' => false,
24+
2225 'use_package_routes' => true,
2326 // set this to false to customize route for file manager
2427
25- 'middlewares' => ['auth'],
28+ 'middlewares' => ['web',' auth'],
2629 // determine middlewares that apply to all file manager routes
27- // NOTE: for laravel 5.2 , please use ['web', 'auth']
30+ // NOTE: for laravel 5.1 , please use ['auth']
2831
2932 'allow_multi_user' => true,
3033 // true : user can upload files to shared folder and their own folder
@@ -43,10 +46,19 @@ In `config/lfm.php` :
4346 'images_url' => '/photos/',
4447 // path and url of images
4548
49+ 'images_startup_view' => 'list',
50+ // default view type for images
51+
4652 'files_dir' => 'public/files/',
4753 'files_url' => '/files/',
4854 // path and url of files
4955
56+ 'files_startup_view' => 'list',
57+ // default view type for files
58+
59+ 'max_image_size' => 500,
60+ 'max_file_size' => 1000,
61+ // max uploading size for images/files
5062
5163 // valid image mimetypes
5264 'valid_image_mimetypes' => [
0 commit comments