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