You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,11 @@ PR is welcome!
18
18
* Laravel 5
19
19
* requires [intervention/image](https://github.com/Intervention/image) (to make thumbs, crop and resize images).
20
20
21
+
## Notes
22
+
23
+
* For `laravel 5.2`, please set `'middlewares' => ['web', 'auth'],` in config/lfm.php
24
+
* With laravel-filemanager >= 1.3.0, the new configs `valid_image_mimetypes` and `valid_file_mimetypes` restrict the MIME types of the uploading files.
25
+
21
26
## Installation
22
27
23
28
1. Install package
@@ -144,6 +149,7 @@ In `config/lfm.php` :
144
149
145
150
'middlewares' => ['auth'],
146
151
// determine middlewares that apply to all file manager routes
152
+
// NOTE: for laravel 5.2, please use ['web', 'auth']
147
153
148
154
'allow_multi_user' => true,
149
155
// true : user can upload files to shared folder and their own folder
0 commit comments