修改kindeditor中允许的文件扩展名
This commit is contained in:
parent
2e07551832
commit
21b13ad8f3
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue