mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 05:53:13 +00:00
Merge pull request #1068 from nlegoff/phras-38
[3.8] Fix phras-38 add vnd mime type detection
This commit is contained in:
@@ -11,6 +11,12 @@ class MimeTypeGuesser implements MimeTypeGuesserInterface
|
|||||||
'mpg' => 'video/mpeg',
|
'mpg' => 'video/mpeg',
|
||||||
'mov' => 'video/quicktime',
|
'mov' => 'video/quicktime',
|
||||||
'dv' => 'video/x-dv',
|
'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',
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user