Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 49 lines (47 sloc) 2.451 kb
0ea569c2 » thomascube
2009-02-27 Fix mime-type detection using a hard-coded map (#1485311)
1 <?php
2
3 return array(
4 'xls' => 'application/vnd.ms-excel',
5 'xlm' => 'application/vnd.ms-excel',
6 'xla' => 'application/vnd.ms-excel',
7 'xlc' => 'application/vnd.ms-excel',
8 'xlt' => 'application/vnd.ms-excel',
9 'xlw' => 'application/vnd.ms-excel',
36260ed6 » alecpl
2010-10-20 - Add .pdf extension to the list
10 'pdf' => 'application/pdf',
0ea569c2 » thomascube
2009-02-27 Fix mime-type detection using a hard-coded map (#1485311)
11 'ppt' => 'application/vnd.ms-powerpoint',
12 'pps' => 'application/vnd.ms-powerpoint',
13 'pot' => 'application/vnd.ms-powerpoint',
14 'doc' => 'application/msword',
15 'dot' => 'application/msword',
16 'odc' => 'application/vnd.oasis.opendocument.chart',
17 'otc' => 'application/vnd.oasis.opendocument.chart-template',
18 'odf' => 'application/vnd.oasis.opendocument.formula',
19 'otf' => 'application/vnd.oasis.opendocument.formula-template',
20 'odg' => 'application/vnd.oasis.opendocument.graphics',
21 'otg' => 'application/vnd.oasis.opendocument.graphics-template',
22 'odi' => 'application/vnd.oasis.opendocument.image',
23 'oti' => 'application/vnd.oasis.opendocument.image-template',
24 'odp' => 'application/vnd.oasis.opendocument.presentation',
25 'otp' => 'application/vnd.oasis.opendocument.presentation-template',
26 'ods' => 'application/vnd.oasis.opendocument.spreadsheet',
27 'ots' => 'application/vnd.oasis.opendocument.spreadsheet-template',
28 'odt' => 'application/vnd.oasis.opendocument.text',
29 'otm' => 'application/vnd.oasis.opendocument.text-master',
30 'ott' => 'application/vnd.oasis.opendocument.text-template',
31 'oth' => 'application/vnd.oasis.opendocument.text-web',
32 'docm' => 'application/vnd.ms-word.document.macroEnabled.12',
33 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
34 'dotm' => 'application/vnd.ms-word.template.macroEnabled.12',
35 'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template',
36 'ppsm' => 'application/vnd.ms-powerpoint.slideshow.macroEnabled.12',
37 'ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow',
38 'pptm' => 'application/vnd.ms-powerpoint.presentation.macroEnabled.12',
39 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
40 'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroEnabled.12',
41 'xlsm' => 'application/vnd.ms-excel.sheet.macroEnabled.12',
42 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
43 'xps' => 'application/vnd.ms-xpsdocument',
65ce3d29 » thomascube
2009-02-27 Add mimetype for .rar files according to a comment in #1485311
44 'rar' => 'application/x-rar-compressed',
4d97074e » thomascube
2009-08-07 Little config improvements
45 'vcf' => 'text/vcard',
ace06244 » alecpl
2010-04-06 - Added mimetype for text/calendar (.ics)
46 'ics' => 'text/calendar',
0ea569c2 » thomascube
2009-02-27 Fix mime-type detection using a hard-coded map (#1485311)
47 );
48
7fe3811c » thomascube
2012-01-18 Changed license to GNU GPLv3+ with exceptions for skins and plugins
49 ?>
Something went wrong with that request. Please try again.