fixing mimetype for "new" ms office formats
right mime types for docx, pptx and xlsx with the old mimetype I got a warning message from office everytime I opend such a file (it was downloaded as "filename.docx.doc")
This commit is contained in:
parent
a5c72f1ad2
commit
fbf9233648
|
@ -86,11 +86,11 @@ return array(
|
||||||
'vcf' => 'text/vcard',
|
'vcf' => 'text/vcard',
|
||||||
'vcard' => 'text/vcard',
|
'vcard' => 'text/vcard',
|
||||||
'doc'=>'application/msword',
|
'doc'=>'application/msword',
|
||||||
'docx'=>'application/msword',
|
'docx'=>'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
||||||
'xls'=>'application/msexcel',
|
'xls'=>'application/msexcel',
|
||||||
'xlsx'=>'application/msexcel',
|
'xlsx'=>'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
||||||
'ppt'=>'application/mspowerpoint',
|
'ppt'=>'application/mspowerpoint',
|
||||||
'pptx'=>'application/mspowerpoint',
|
'pptx'=>'application/vnd.openxmlformats-officedocument.presentationml.presentation',
|
||||||
'sgf' => 'application/sgf',
|
'sgf' => 'application/sgf',
|
||||||
'cdr' => 'application/coreldraw',
|
'cdr' => 'application/coreldraw',
|
||||||
'impress' => 'text/impress',
|
'impress' => 'text/impress',
|
||||||
|
|
Loading…
Reference in New Issue