From 34d47f8d9b30ecf836fed3387e6c38b7010e9c8c Mon Sep 17 00:00:00 2001 From: Billy <641833868@qq.com> Date: Fri, 14 Nov 2025 15:31:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/extra/upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/extra/upload.php b/application/extra/upload.php index 8a79610..8392646 100755 --- a/application/extra/upload.php +++ b/application/extra/upload.php @@ -22,7 +22,7 @@ return [ * 可上传的文件类型 * 如配置允许 pdf,ppt,docx,svg 等可能含有脚本的文件时,请先从服务器配置此类文件直接下载而不是预览 */ - 'mimetype' => 'jpg,png,bmp,jpeg,gif,webp,zip,rar,wav,mp4,mp3,webm', + 'mimetype' => 'jpg,png,bmp,jpeg,gif,webp,zip,rar,wav,mp4,mp3,webm,crt,pem,key,txt,cer', /** * 是否支持批量上传 */