|
@@ -71,8 +71,9 @@ class Upload
|
|
|
'dll' => 'application/x-msdownload',
|
|
|
'dms' => 'application/octet-stream',
|
|
|
'doc' => 'application/msword',
|
|
|
- 'docx' => 'application/msword',
|
|
|
+ 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
|
'dot' => 'application/msword',
|
|
|
+ 'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template',
|
|
|
'dvi' => 'application/x-dvi',
|
|
|
'dxr' => 'application/x-director',
|
|
|
'eps' => 'application/postscript',
|
|
@@ -152,9 +153,12 @@ class Upload
|
|
|
'pmw' => 'application/x-perfmon',
|
|
|
'pnm' => 'image/x-portable-anymap',
|
|
|
'pot,' => 'application/vnd.ms-powerpoint',
|
|
|
+ 'potx,' => 'application/vnd.openxmlformats-officedocument.presentationml.template',
|
|
|
'ppm' => 'image/x-portable-pixmap',
|
|
|
'pps' => 'application/vnd.ms-powerpoint',
|
|
|
+ 'ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshowt',
|
|
|
'ppt' => 'application/vnd.ms-powerpoint',
|
|
|
+ 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
|
|
|
'prf' => 'application/pics-rules',
|
|
|
'ps' => 'application/postscript',
|
|
|
'pub' => 'application/x-mspublisher',
|
|
@@ -163,7 +167,7 @@ class Upload
|
|
|
'ram' => 'audio/x-pn-realaudio',
|
|
|
'ras' => 'image/x-cmu-raster',
|
|
|
'rgb' => 'image/x-rgb',
|
|
|
- 'rmi' => 'audio/mid http://www.dreamdu.com',
|
|
|
+ 'rmi' => 'audio/mid',
|
|
|
'roff' => 'application/x-troff',
|
|
|
'rtf' => 'application/rtf',
|
|
|
'rtx' => 'text/richtext',
|
|
@@ -217,8 +221,9 @@ class Upload
|
|
|
'xlc' => 'application/vnd.ms-excel',
|
|
|
'xlm' => 'application/vnd.ms-excel',
|
|
|
'xls' => 'application/vnd.ms-excel',
|
|
|
- 'xlsx' => 'application/vnd.ms-excel',
|
|
|
+ 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
|
'xlt' => 'application/vnd.ms-excel',
|
|
|
+ 'xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template',
|
|
|
'xlw' => 'application/vnd.ms-excel',
|
|
|
'xof' => 'x-world/x-vrml',
|
|
|
'xpm' => 'image/x-xpixmap',
|