Skip to content

Commit

Permalink
修复Upload组件上传文件类型检测
Browse files Browse the repository at this point in the history
  • Loading branch information
SmallRuralDog committed Apr 14, 2020
1 parent 26a80fa commit 62483c2
Show file tree
Hide file tree
Showing 21 changed files with 88 additions and 128,160 deletions.
2 changes: 2 additions & 0 deletions config/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@
'image' => 'images',
'file' => 'files',
],
//文件上传类型
'mimes'=>'jpeg,bmp,png,gif,jpg',
],
'database' => [
// Database connection for following tables.
Expand Down
Loading

0 comments on commit 62483c2

Please sign in to comment.