Revision: 12396
http://sourceforge.net/p/xoops/svn/12396
Author: beckmi
Date: 2014-03-19 17:44:50 +0000 (Wed, 19 Mar 2014)
Log Message:
-----------
Adding Office 2007 MIME types
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.7/htdocs/include/mimetypes.inc.php
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/include/mimetypes.inc.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/include/mimetypes.inc.php 2014-03-19 10:17:26 UTC (rev 12395)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/include/mimetypes.inc.php 2014-03-19 17:44:50 UTC (rev 12396)
@@ -128,4 +128,21 @@
'mp4' => 'video/mp4' ,
'wmv' => 'video/x-ms-wmv' ,
'webm' => 'video/webm' ,
- '3gp' => 'video/quicktime' );
+ '3gp' => 'video/quicktime',
+ 'odt' => 'application/vnd.oasis.opendocument.text',
+ 'ods' => 'application/vnd.oasis.opendocument.spreadsheet',
+ // Office 2007
+ 'docm'=>'application/vnd.ms-word.document.macroEnabled.12',
+ 'docx'=>'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
+ 'dotm'=>'application/vnd.ms-word.template.macroEnabled.12',
+ 'dotx'=>'application/vnd.openxmlformats-officedocument.wordprocessingml.template',
+ 'ppsm'=>'application/vnd.ms-powerpoint.slideshow.macroEnabled.12',
+ 'ppsx'=>'application/vnd.openxmlformats-officedocument.presentationml.slideshow',
+ 'pptm'=>'application/vnd.ms-powerpoint.presentation.macroEnabled.12',
+ 'pptx'=>'application/vnd.openxmlformats-officedocument.presentationml.presentation',
+ 'xlsb'=>'application/vnd.ms-excel.sheet.binary.macroEnabled.12',
+ 'xlsm'=>'application/vnd.ms-excel.sheet.macroEnabled.12',
+ 'xlsx'=>'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
+ 'xps'=>'application/vnd.ms-xpsdocument'
+ );
+
\ No newline at end of file
|