mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Fix #3148 MediaView does not support Microsoft Office default formats
This commit is contained in:
parent
b2f62f46c5
commit
7484007fa7
1 changed files with 3 additions and 0 deletions
|
@ -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',
|
||||
|
@ -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',
|
||||
|
@ -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',
|
||||
|
|
Loading…
Add table
Reference in a new issue