Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

docx and xlsx have a zip/application mimetype

  • Loading branch information...
commit c11b5cea3c34cbb4f9f849b6940fa09c0e517f3d 1 parent 0199f68
Michiel Vugteveen authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 application/config/mimes.php
4 application/config/mimes.php
View
@@ -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',
Please sign in to comment.
Something went wrong with that request. Please try again.