Skip to content

Commit 73523b1

Browse files
committed
Corrected double file extensions
1 parent 4dda63c commit 73523b1

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
@@ -52,10 +52,10 @@
5252
// file extensions array, only for showing file information, it won't affect the upload process.
5353
'file_type_array' => [
5454
'pdf' => 'Adobe Acrobat',
55+
'doc' => 'Microsoft Word',
5556
'docx' => 'Microsoft Word',
56-
'docx' => 'Microsoft Word',
57-
'xls' => 'Microsoft Excel',
5857
'xls' => 'Microsoft Excel',
58+
'xlsx' => 'Microsoft Excel',
5959
'zip' => 'Archive',
6060
'gif' => 'GIF Image',
6161
'jpg' => 'JPEG Image',
@@ -68,10 +68,10 @@
6868
// file extensions array, only for showing icons, it won't affect the upload process.
6969
'file_icon_array' => [
7070
'pdf' => 'fa-file-pdf-o',
71+
'doc' => 'fa-file-word-o',
7172
'docx' => 'fa-file-word-o',
72-
'docx' => 'fa-file-word-o',
73-
'xls' => 'fa-file-excel-o',
7473
'xls' => 'fa-file-excel-o',
74+
'xlsx' => 'fa-file-excel-o',
7575
'zip' => 'fa-file-archive-o',
7676
'gif' => 'fa-file-image-o',
7777
'jpg' => 'fa-file-image-o',

0 commit comments

Comments
 (0)