diff --git a/config/config.php b/config/config.php index b37243cc49..abf1fdc31e 100644 --- a/config/config.php +++ b/config/config.php @@ -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,';