From 1b6f18f35ec002226655ef7f5d91ed2f2b3c0f41 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 8 Feb 2018 14:50:10 +0100 Subject: [PATCH] Fix excluded mime types does not work for CollabEditor --- filemanager/inc/class.filemanager_hooks.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/filemanager/inc/class.filemanager_hooks.inc.php b/filemanager/inc/class.filemanager_hooks.inc.php index 7c1bd6054b..d885dda5e5 100644 --- a/filemanager/inc/class.filemanager_hooks.inc.php +++ b/filemanager/inc/class.filemanager_hooks.inc.php @@ -328,7 +328,8 @@ class filemanager_hooks 'edit_popup' => '980x750', 'mime' => array ( 'application/vnd.oasis.opendocument.text' => array ( - 'mime_popup' => '' // try to avoid mime_open exception + 'mime_popup' => '', // try to avoid mime_open exception + 'ext' => 'odt' ), ) );