commit | author | age
|
0ea569
|
1 |
<?php |
T |
2 |
|
0a8397
|
3 |
/** |
TB |
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 |
|
0ea569
|
10 |
return array( |
T |
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', |
36260e
|
17 |
'pdf' => 'application/pdf', |
0ea569
|
18 |
'ppt' => 'application/vnd.ms-powerpoint', |
T |
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', |
65ce3d
|
51 |
'rar' => 'application/x-rar-compressed', |
1562a8
|
52 |
'7z' => 'application/x-7z-compressed', |
TB |
53 |
's7z' => 'application/x-7z-compressed', |
4d9707
|
54 |
'vcf' => 'text/vcard', |
ace062
|
55 |
'ics' => 'text/calendar', |
0ea569
|
56 |
); |
T |
57 |
|
7fe381
|
58 |
?> |