@@ -19,12 +19,15 @@ In `config/lfm.php` :
19
19
// true : filter filename characters which are not alphanumeric, and replace them with '_'
20
20
'alphanumeric_filename' => true,
21
21
22
+ // true : filter folder name characters which are not alphanumeric, and replace them with '_'
23
+ 'alphanumeric_directory' => false,
24
+
22
25
'use_package_routes' => true,
23
26
// set this to false to customize route for file manager
24
27
25
- 'middlewares' => ['auth'],
28
+ 'middlewares' => ['web',' auth'],
26
29
// 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']
28
31
29
32
'allow_multi_user' => true,
30
33
// true : user can upload files to shared folder and their own folder
@@ -43,10 +46,19 @@ In `config/lfm.php` :
43
46
'images_url' => '/photos/',
44
47
// path and url of images
45
48
49
+ 'images_startup_view' => 'list',
50
+ // default view type for images
51
+
46
52
'files_dir' => 'public/files/',
47
53
'files_url' => '/files/',
48
54
// path and url of files
49
55
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
50
62
51
63
// valid image mimetypes
52
64
'valid_image_mimetypes' => [
0 commit comments