Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 50 lines (47 sloc) 2.451 kb
0ea569c @thomascube Fix mime-type detection using a hard-coded map (#1485311)
thomascube authored
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',
36260ed @alecpl - Add .pdf extension to the list
alecpl authored
10 'pdf' => 'application/pdf',
0ea569c @thomascube Fix mime-type detection using a hard-coded map (#1485311)
thomascube authored
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',
65ce3d2 @thomascube Add mimetype for .rar files according to a comment in #1485311
thomascube authored
44 'rar' => 'application/x-rar-compressed',
4d97074 @thomascube Little config improvements
thomascube authored
45 'vcf' => 'text/vcard',
ace0624 @alecpl - Added mimetype for text/calendar (.ics)
alecpl authored
46 'ics' => 'text/calendar',
0ea569c @thomascube Fix mime-type detection using a hard-coded map (#1485311)
thomascube authored
47 );
48
7fe3811 @thomascube Changed license to GNU GPLv3+ with exceptions for skins and plugins
thomascube authored
49 ?>
Something went wrong with that request. Please try again.