* update file dangers type

This commit is contained in:
pengjiangxiu
2017-06-15 10:46:06 +08:00
parent 757b9ecf71
commit 06e714223f
+1 -1
View File
@@ -125,7 +125,7 @@ if(file_exists($myConfig)) include $myConfig;
/* 文件上传设置。 Upload settings. */
$config->file = new stdclass();
// 危险文件类型。 Dangerous file types.
$config->file->dangers = 'php,php3,php4,phtml,php5,jsp,py,rb,asp,aspx,ashx,asa,cer,cdx,aspl,shtm,shtml,html,htm';
$config->file->dangers = ',php,php3,php4,phtml,php5,jsp,py,rb,asp,aspx,ashx,asa,cer,cdx,aspl,shtm,shtml,html,htm,';
// 允许上传的文件类型。 Allowed file types.
$config->file->allowed = ',txt,doc,docx,dot,wps,wri,pdf,ppt,xls,xlsx,ett,xlt,xlsm,csv,jpg,jpeg,png,psd,gif,ico,bmp,swf,avi,rmvb,rm,mp3,mp4,3gp,flv,mov,movie,rar,zip,bz,bz2,tar,gz,';