文件上传数据库
This commit is contained in:
@@ -32,26 +32,26 @@ file:
|
||||
other: "./data/upload/other/"
|
||||
|
||||
allow_image_mime:
|
||||
image/jpeg: true
|
||||
image/png: true
|
||||
image/gif: true
|
||||
image/bmp: true
|
||||
image/jpeg: ".jpeg"
|
||||
image/png: ".png"
|
||||
image/gif: ".gif"
|
||||
image/bmp: ".bmp"
|
||||
|
||||
allow_video_mime:
|
||||
video/mp4: true
|
||||
video/x-msvideo: true
|
||||
video/quicktime: true
|
||||
video/x-flv: true
|
||||
video/mpeg: true
|
||||
video/mp4: ".mp4"
|
||||
video/x-msvideo: ".avi"
|
||||
video/quicktime: ".mov"
|
||||
video/x-flv: ".flv"
|
||||
video/mpeg: ".mpeg"
|
||||
|
||||
allow_music_mime:
|
||||
audio/mpeg: true
|
||||
audio/aac: true
|
||||
audio/wav: true
|
||||
audio/flac: true
|
||||
audio/mpeg: ".mpeg"
|
||||
audio/aac: ".aac"
|
||||
audio/wav: ".wav"
|
||||
audio/flac: ".flac"
|
||||
|
||||
allow_pdf_mime:
|
||||
application/pdf: true
|
||||
application/pdf: ".pdf"
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user