Skip to content

Commit 62483c2

Browse files
committed
修复Upload组件上传文件类型检测
1 parent 26a80fa commit 62483c2

File tree

21 files changed

+88
-128160
lines changed

21 files changed

+88
-128160
lines changed

config/admin.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@
7373
'image' => 'images',
7474
'file' => 'files',
7575
],
76+
//文件上传类型
77+
'mimes'=>'jpeg,bmp,png,gif,jpg',
7678
],
7779
'database' => [
7880
// Database connection for following tables.

0 commit comments

Comments
 (0)