修改kindeditor中允许的文件扩展名

This commit is contained in:
Li Jianxuan 2013-06-06 02:07:30 +00:00
parent 2e07551832
commit 21b13ad8f3
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ $ext_arr = array(
'image' => array('gif', 'jpg', 'jpeg', 'png', 'bmp'),
'flash' => array('swf', 'flv'),
'media' => array('swf', 'flv', 'mp3', 'wav', 'wma', 'wmv', 'mid', 'avi', 'mpg', 'asf', 'rm', 'rmvb'),
'file' => array('doc', 'docx', 'xls', 'xlsx', 'ppt', 'htm', 'html', 'txt', 'zip', 'rar', 'gz', 'bz2'),
'file' => array('doc', 'docx', 'xls', 'xlsx', 'ppt', 'htm', 'html', 'txt', 'zip', 'rar', 'gz', 'bz2','pdf'),
);
//最大文件大小
$max_size = 1000000;