From 1347db1771a2576e7b55f909d2b0a285228736ef Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Sat, 24 Feb 2024 15:58:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E6=94=AF?= =?UTF-8?q?=E6=8C=81webp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/upload.php b/config/upload.php index 4b28e997..240ad772 100755 --- a/config/upload.php +++ b/config/upload.php @@ -19,7 +19,7 @@ return [ //上传文件大小 'filesize' => 52428800, //上传文件后缀类型 - 'fileExt' => ['jpg', 'jpeg', 'png', 'gif', 'pem', 'mp3', 'wma', 'wav', 'amr', 'mp4', 'key', 'xlsx', 'xls', 'ico', 'apk', 'ipa','wgt','zip'], + 'fileExt' => ['jpg', 'jpeg', 'png', 'gif', 'pem', 'mp3', 'wma', 'wav', 'amr', 'mp4', 'key', 'xlsx', 'xls', 'ico', 'apk', 'ipa','wgt','zip','webp'], //上传文件类型 'fileMime' => ['image/jpeg', 'image/gif', 'image/png', 'text/plain', 'audio/mpeg', 'image/vnd.microsoft.icon','application/widget','application/zip'], //驱动模式