Permalink
Browse files

docx and xlsx have a zip/application mimetype

  • Loading branch information...
1 parent 0199f68 commit c11b5cea3c34cbb4f9f849b6940fa09c0e517f3d Michiel Vugteveen committed Nov 23, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 application/config/mimes.php
View
4 application/config/mimes.php
@@ -93,8 +93,8 @@
'avi' => 'video/x-msvideo',
'movie' => 'video/x-sgi-movie',
'doc' => 'application/msword',
- 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
- 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
+ 'docx' => array('application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/zip'),
+ 'xlsx' => array('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/zip'),
'word' => array('application/msword', 'application/octet-stream'),
'xl' => 'application/excel',
'eml' => 'message/rfc822',

0 comments on commit c11b5ce

Please sign in to comment.