Mercurial > hg > rc1
comparison etc/mimetypes.php @ 38:ac106d4c8961 default tip
flip /etc/roundcube to point here
author | Charlie Root |
---|---|
date | Sat, 29 Dec 2018 05:39:53 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
37:96515de44ecf | 38:ac106d4c8961 |
---|---|
1 <?php | |
2 | |
3 /** | |
4 * Local mapping file to specify mime-types based on common file-name extensions | |
5 * | |
6 * Please note that this mapping takes precedence over the content-based mime-type detection | |
7 * and should only contain mappings which cannot be detected properly from the file contents. | |
8 */ | |
9 | |
10 return array( | |
11 'xls' => 'application/vnd.ms-excel', | |
12 'xlm' => 'application/vnd.ms-excel', | |
13 'xla' => 'application/vnd.ms-excel', | |
14 'xlc' => 'application/vnd.ms-excel', | |
15 'xlt' => 'application/vnd.ms-excel', | |
16 'xlw' => 'application/vnd.ms-excel', | |
17 'pdf' => 'application/pdf', | |
18 'ppt' => 'application/vnd.ms-powerpoint', | |
19 'pps' => 'application/vnd.ms-powerpoint', | |
20 'pot' => 'application/vnd.ms-powerpoint', | |
21 'doc' => 'application/msword', | |
22 'dot' => 'application/msword', | |
23 'odc' => 'application/vnd.oasis.opendocument.chart', | |
24 'otc' => 'application/vnd.oasis.opendocument.chart-template', | |
25 'odf' => 'application/vnd.oasis.opendocument.formula', | |
26 'otf' => 'application/vnd.oasis.opendocument.formula-template', | |
27 'odg' => 'application/vnd.oasis.opendocument.graphics', | |
28 'otg' => 'application/vnd.oasis.opendocument.graphics-template', | |
29 'odi' => 'application/vnd.oasis.opendocument.image', | |
30 'oti' => 'application/vnd.oasis.opendocument.image-template', | |
31 'odp' => 'application/vnd.oasis.opendocument.presentation', | |
32 'otp' => 'application/vnd.oasis.opendocument.presentation-template', | |
33 'ods' => 'application/vnd.oasis.opendocument.spreadsheet', | |
34 'ots' => 'application/vnd.oasis.opendocument.spreadsheet-template', | |
35 'odt' => 'application/vnd.oasis.opendocument.text', | |
36 'otm' => 'application/vnd.oasis.opendocument.text-master', | |
37 'ott' => 'application/vnd.oasis.opendocument.text-template', | |
38 'oth' => 'application/vnd.oasis.opendocument.text-web', | |
39 'docm' => 'application/vnd.ms-word.document.macroEnabled.12', | |
40 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', | |
41 'dotm' => 'application/vnd.ms-word.template.macroEnabled.12', | |
42 'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template', | |
43 'ppsm' => 'application/vnd.ms-powerpoint.slideshow.macroEnabled.12', | |
44 'ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow', | |
45 'pptm' => 'application/vnd.ms-powerpoint.presentation.macroEnabled.12', | |
46 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', | |
47 'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroEnabled.12', | |
48 'xlsm' => 'application/vnd.ms-excel.sheet.macroEnabled.12', | |
49 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', | |
50 'xps' => 'application/vnd.ms-xpsdocument', | |
51 'rar' => 'application/x-rar-compressed', | |
52 '7z' => 'application/x-7z-compressed', | |
53 's7z' => 'application/x-7z-compressed', | |
54 'vcf' => 'text/vcard', | |
55 'ics' => 'text/calendar', | |
56 ); | |
57 | |
58 ?> |