Filemanager: Add a 'None' option for editor mime type exclusion so you can override the default.

This commit is contained in:
nathangray 2020-05-19 11:28:51 -06:00
parent 10494a0a86
commit 6a425ac935

View File

@ -198,7 +198,7 @@ class filemanager_hooks
); );
$editorLink = self::getEditorLink(); $editorLink = self::getEditorLink();
$mimes = array(); $mimes = array('0' => lang('None'));
foreach ((array)$editorLink['mime'] as $mime => $value) foreach ((array)$editorLink['mime'] as $mime => $value)
{ {