test: 1
This commit is contained in:
88
config.json
Normal file
88
config.json
Normal file
@ -0,0 +1,88 @@
|
||||
{
|
||||
"imageActionName": "uploadimage",
|
||||
"imageFieldName": "upfile",
|
||||
"imageMaxSize": 2048000,
|
||||
"imageAllowFiles": [
|
||||
".png",
|
||||
".jpg",
|
||||
".jpeg",
|
||||
".gif",
|
||||
".bmp"
|
||||
],
|
||||
"imageCompressEnable": true,
|
||||
"imageCompressBorder": 1600,
|
||||
"imageInsertAlign": "none",
|
||||
"imageUrlPrefix": "",
|
||||
"imagePathFormat": "/uploads/{yyyy}{mm}{dd}/{time}{rand:6}",
|
||||
"videoActionName": "uploadvideo",
|
||||
"videoFieldName": "upfile",
|
||||
"videoPathFormat": "/uploads/{yyyy}{mm}{dd}/{time}{rand:6}",
|
||||
"videoUrlPrefix": "",
|
||||
"videoMaxSize": 102400000,
|
||||
"videoAllowFiles": [
|
||||
".flv",
|
||||
".swf",
|
||||
".mkv",
|
||||
".avi",
|
||||
".rm",
|
||||
".rmvb",
|
||||
".mpeg",
|
||||
".mpg",
|
||||
".ogg",
|
||||
".ogv",
|
||||
".mov",
|
||||
".wmv",
|
||||
".mp4",
|
||||
".webm",
|
||||
".mp3",
|
||||
".wav",
|
||||
".mid"
|
||||
],
|
||||
"fileActionName": "uploadfile",
|
||||
"fileFieldName": "upfile",
|
||||
"filePathFormat": "upload/file/{yyyy}{mm}{dd}/{time}{rand:6}",
|
||||
"fileMaxSize": 102400000,
|
||||
"fileAllowFiles": [
|
||||
".png",
|
||||
".jpg",
|
||||
".jpeg",
|
||||
".gif",
|
||||
".bmp",
|
||||
".flv",
|
||||
".swf",
|
||||
".mkv",
|
||||
".avi",
|
||||
".rm",
|
||||
".rmvb",
|
||||
".mpeg",
|
||||
".mpg",
|
||||
".ogg",
|
||||
".ogv",
|
||||
".mov",
|
||||
".wmv",
|
||||
".mp4",
|
||||
".webm",
|
||||
".mp3",
|
||||
".wav",
|
||||
".mid",
|
||||
".rar",
|
||||
".zip",
|
||||
".tar",
|
||||
".gz",
|
||||
".7z",
|
||||
".bz2",
|
||||
".cab",
|
||||
".iso",
|
||||
".doc",
|
||||
".docx",
|
||||
".xls",
|
||||
".xlsx",
|
||||
".ppt",
|
||||
".pptx",
|
||||
".pdf",
|
||||
".txt",
|
||||
".md",
|
||||
".xml",
|
||||
".crx"
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user