|
17 | 17 |
|
18 | 18 | 'use_package_routes' => true, |
19 | 19 |
|
20 | | - 'middlewares' => ['web', 'auth'], |
21 | | - |
22 | | - // The url to this package. Change it if necessary. |
23 | | - 'url_prefix' => 'laravel-filemanager', |
24 | | - |
25 | | - // Use relative paths (without domain) |
26 | | - 'relative_paths' => false, |
27 | | - |
28 | | - // behavior on files with identical name |
29 | | - // setting it to true cause old file replace with new one |
30 | | - // setting it to false show `error-file-exist` error and stop upload |
31 | | - 'over_write_on_duplicate' => false, |
32 | | - |
33 | | - // behavior on files with identical name |
34 | | - // setting it to true cause old file replace with new one |
35 | | - // setting it to false show `error-file-exist` error and stop upload |
36 | | - 'over_write_on_duplicate' => false, |
| 20 | + // // Use relative paths (without domain) |
| 21 | + // 'relative_paths' => false, |
37 | 22 |
|
38 | 23 | /* |
39 | 24 | |-------------------------------------------------------------------------- |
|
118 | 103 | // If true, it will attempt to chmod the file after upload |
119 | 104 | 'should_change_file_mode' => true, |
120 | 105 |
|
| 106 | + // behavior on files with identical name |
| 107 | + // setting it to true cause old file replace with new one |
| 108 | + // setting it to false show `error-file-exist` error and stop upload |
| 109 | + 'over_write_on_duplicate' => false, |
| 110 | + |
121 | 111 | /* |
122 | 112 | |-------------------------------------------------------------------------- |
123 | 113 | | Thumbnail |
|
133 | 123 | 'image/pjpeg', |
134 | 124 | 'image/png', |
135 | 125 | ], |
| 126 | + |
| 127 | + 'thumb_img_width' => 200, |
| 128 | + |
| 129 | + 'thumb_img_height' => 200, |
| 130 | + |
136 | 131 | /* |
137 | 132 | |-------------------------------------------------------------------------- |
138 | 133 | | jQuery UI options |
139 | 134 | |-------------------------------------------------------------------------- |
140 | 135 | */ |
141 | | - 'resize_aspectRatio' => false, |
142 | | - 'resize_containment' => true, |
143 | 136 |
|
144 | | - 'thumb_img_width' => 200, |
| 137 | + 'resize_aspectRatio' => false, |
145 | 138 |
|
146 | | - 'thumb_img_height' => 200, |
| 139 | + 'resize_containment' => true, |
147 | 140 |
|
148 | 141 | /* |
149 | 142 | |-------------------------------------------------------------------------- |
|
0 commit comments