diff --git a/lib/Alchemy/Phrasea/Media/MimeTypeGuesser.php b/lib/Alchemy/Phrasea/Media/MimeTypeGuesser.php index e816b9b476..1ab737d814 100644 --- a/lib/Alchemy/Phrasea/Media/MimeTypeGuesser.php +++ b/lib/Alchemy/Phrasea/Media/MimeTypeGuesser.php @@ -11,6 +11,12 @@ class MimeTypeGuesser implements MimeTypeGuesserInterface 'mpg' => 'video/mpeg', 'mov' => 'video/quicktime', 'dv' => 'video/x-dv', + 'xls' => 'application/vnd.ms-excel', + 'doc' => 'application/msword', + 'ppt' => 'application/vnd.ms-powerpoint', + 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', + 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', + 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', ); /**