Skip to content

Commit 81881bf

Browse files
authored
Fix 'valid_mime' issue in config file
'valid_mime' and 'startup_view' values for 'file' and 'image' categories is vice-versa. I swapped them and it's correct now.
1 parent a2c390b commit 81881bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/config/lfm.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,28 +48,28 @@
4848
'folder_categories' => [
4949
'file' => [
5050
'folder_name' => 'files',
51-
'startup_view' => 'grid',
51+
'startup_view' => 'list',
5252
'max_size' => 50000, // size in KB
5353
'valid_mime' => [
5454
'image/jpeg',
5555
'image/pjpeg',
5656
'image/png',
5757
'image/gif',
5858
'image/svg+xml',
59+
'application/pdf',
60+
'text/plain',
5961
],
6062
],
6163
'image' => [
6264
'folder_name' => 'photos',
63-
'startup_view' => 'list',
65+
'startup_view' => 'grid',
6466
'max_size' => 50000, // size in KB
6567
'valid_mime' => [
6668
'image/jpeg',
6769
'image/pjpeg',
6870
'image/png',
6971
'image/gif',
7072
'image/svg+xml',
71-
'application/pdf',
72-
'text/plain',
7373
],
7474
],
7575
],

0 commit comments

Comments
 (0)