优化文件上传:支持更多默认扩展、支持更好的预览体验(不需要通过关闭预览来限制文件打开)

This commit is contained in:
2022-05-28 15:00:13 +08:00
parent 4f2912931e
commit d3046f9744
8 changed files with 67 additions and 8 deletions

View File

@@ -24,7 +24,7 @@ $ul_system_config = array(
array(
"name" => "upload_allow_ext",
"group" => "upload",
"value" => "doc,gif,ico,icon,jpg,mp3,mp4,p12,pem,png,rar,jpeg",
"value" => "jpg,jpeg,png,gif,bmp,doc,docx,xls,xlsx,ppt,pptx,pdf,zip,rar,7z,txt,mp3,wma,wav,mid,m4a,mp4,avi,wmv,3gp,flv",
"remark" => "允许上传的文件类型",
"sort" => 0,
),