...
This commit is contained in:
parent
d7f32670c5
commit
6030dc6a9b
@ -36,6 +36,7 @@
|
|||||||
'dnsbl' => Array(),
|
'dnsbl' => Array(),
|
||||||
'dnsbl_exceptions' => Array(),
|
'dnsbl_exceptions' => Array(),
|
||||||
'remote' => Array(),
|
'remote' => Array(),
|
||||||
|
'allowed_ext' => Array(),
|
||||||
'allowed_ext_files' => Array(),
|
'allowed_ext_files' => Array(),
|
||||||
'file_icons' => Array()
|
'file_icons' => Array()
|
||||||
);
|
);
|
||||||
@ -328,6 +329,11 @@
|
|||||||
$config['ie_mime_type_detection'] = '/<(?:body|head|html|img|plaintext|pre|script|table|title|a href|channel|scriptlet)/i';
|
$config['ie_mime_type_detection'] = '/<(?:body|head|html|img|plaintext|pre|script|table|title|a href|channel|scriptlet)/i';
|
||||||
|
|
||||||
// Allowed image file extensions
|
// Allowed image file extensions
|
||||||
|
$config['allowed_ext'][] = 'jpg';
|
||||||
|
$config['allowed_ext'][] = 'jpeg';
|
||||||
|
$config['allowed_ext'][] = 'bmp';
|
||||||
|
$config['allowed_ext'][] = 'gif';
|
||||||
|
$config['allowed_ext'][] = 'png';
|
||||||
// $config['allowed_ext'][] = 'svg';
|
// $config['allowed_ext'][] = 'svg';
|
||||||
|
|
||||||
// Allowed additional file extensions (not images; downloadable files)
|
// Allowed additional file extensions (not images; downloadable files)
|
||||||
|
Loading…
Reference in New Issue
Block a user