Skip to content

Commit

Permalink
Fix #3148 MediaView does not support Microsoft Office default formats
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRio authored and markstory committed Aug 25, 2012
1 parent b2f62f4 commit 7484007
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Cake/Network/CakeResponse.php
Expand Up @@ -98,6 +98,7 @@ class CakeResponse {
'dir' => 'application/x-director',
'dms' => 'application/octet-stream',
'doc' => 'application/msword',
'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'drw' => 'application/drafting',
'dvi' => 'application/x-dvi',
'dwg' => 'application/acad',
Expand Down Expand Up @@ -134,6 +135,7 @@ class CakeResponse {
'pot' => 'application/vnd.ms-powerpoint',
'pps' => 'application/vnd.ms-powerpoint',
'ppt' => 'application/vnd.ms-powerpoint',
'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
'ppz' => 'application/vnd.ms-powerpoint',
'pre' => 'application/x-freelance',
'prt' => 'application/pro_eng',
Expand Down Expand Up @@ -178,6 +180,7 @@ class CakeResponse {
'xll' => 'application/vnd.ms-excel',
'xlm' => 'application/vnd.ms-excel',
'xls' => 'application/vnd.ms-excel',
'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'xlw' => 'application/vnd.ms-excel',
'zip' => 'application/zip',
'aif' => 'audio/x-aiff',
Expand Down

0 comments on commit 7484007

Please sign in to comment.