From c666b157ba81002a3df4cc64db8bdab874c28f16 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 8 Feb 2018 14:49:10 +0100 Subject: [PATCH] Fix excluded mime types does not work for CollabEditor --- collabeditor/src/Hooks.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/collabeditor/src/Hooks.php b/collabeditor/src/Hooks.php index 146a180a10..f037176c52 100644 --- a/collabeditor/src/Hooks.php +++ b/collabeditor/src/Hooks.php @@ -33,7 +33,8 @@ class 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' ), ) );