-
Notifications
You must be signed in to change notification settings - Fork 36
/
extensions.php
196 lines (196 loc) · 6.06 KB
/
extensions.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<?php
/**
* @copyright http://www.mimetype.org/
* @link http://github.com/debuggable/php_arrays/tree
* @author Felix Geisendörfer ([email protected])
**/
$items = array(
'stl' => 'application/SLA',
'step' => 'application/STEP',
'stp' => 'application/STEP',
'dwg' => 'application/acad',
'ez' => 'application/andrew-inset',
'ccad' => 'application/clariscad',
'drw' => 'application/drafting',
'tsp' => 'application/dsptype',
'dxf' => 'application/dxf',
'xls' => 'application/vnd.ms-excel',
'unv' => 'application/i-deas',
'jar' => 'application/java-archive',
'hqx' => 'application/mac-binhex40',
'cpt' => 'application/mac-compactpro',
'pot' => 'application/vnd.ms-powerpoint',
'pps' => 'application/vnd.ms-powerpoint',
'ppt' => 'application/vnd.ms-powerpoint',
'ppz' => 'application/vnd.ms-powerpoint',
'doc' => 'application/msword',
'bin' => 'application/octet-stream',
'class' => 'application/octet-stream',
'dms' => 'application/octet-stream',
'exe' => 'application/x-msdos-program',
'lha' => 'application/octet-stream',
'lzh' => 'application/octet-stream',
'oda' => 'application/oda',
'ogg' => 'application/ogg',
'ogm' => 'application/ogg',
'pdf' => 'application/pdf',
'pgp' => 'application/pgp',
'ai' => 'application/postscript',
'eps' => 'application/postscript',
'ps' => 'application/postscript',
'prt' => 'application/pro_eng',
'rtf' => 'text/rtf',
'set' => 'application/set',
'smi' => 'application/smil',
'smil' => 'application/smil',
'sol' => 'application/solids',
'vda' => 'application/vda',
'mif' => 'application/x-mif',
'xlc' => 'application/vnd.ms-excel',
'xll' => 'application/vnd.ms-excel',
'xlm' => 'application/vnd.ms-excel',
'xlw' => 'application/vnd.ms-excel',
'cod' => 'application/vnd.rim.cod',
'arj' => 'application/x-arj-compressed',
'bcpio' => 'application/x-bcpio',
'vcd' => 'application/x-cdlink',
'pgn' => 'application/x-chess-pgn',
'cpio' => 'application/x-cpio',
'csh' => 'application/x-csh',
'deb' => 'application/x-debian-package',
'dcr' => 'application/x-director',
'dir' => 'application/x-director',
'dxr' => 'application/x-director',
'dvi' => 'application/x-dvi',
'pre' => 'application/x-freelance',
'spl' => 'application/x-futuresplash',
'gtar' => 'application/x-gtar',
'gz' => 'application/x-gzip',
'hdf' => 'application/x-hdf',
'ipx' => 'application/x-ipix',
'ips' => 'application/x-ipscript',
'js' => 'application/x-javascript',
'skd' => 'application/x-koan',
'skm' => 'application/x-koan',
'skp' => 'application/x-koan',
'skt' => 'application/x-koan',
'latex' => 'application/x-latex',
'lsp' => 'application/x-lisp',
'scm' => 'application/x-lotusscreencam',
'bat' => 'application/x-msdos-program',
'com' => 'application/x-msdos-program',
'cdf' => 'application/x-netcdf',
'nc' => 'application/x-netcdf',
'pl' => 'application/x-perl',
'pm' => 'application/x-perl',
'rar' => 'application/x-rar-compressed',
'sh' => 'application/x-sh',
'shar' => 'application/x-shar',
'swf' => 'application/x-shockwave-flash',
'sit' => 'application/x-stuffit',
'sv4cpio' => 'application/x-sv4cpio',
'sv4crc' => 'application/x-sv4crc',
'tar.gz' => 'application/x-tar-gz',
'tgz' => 'application/x-tar-gz',
'tar' => 'application/x-tar',
'tcl' => 'application/x-tcl',
'tex' => 'application/x-tex',
'texi' => 'application/x-texinfo',
'texinfo' => 'application/x-texinfo',
'man' => 'application/x-troff-man',
'me' => 'application/x-troff-me',
'ms' => 'application/x-troff-ms',
'roff' => 'application/x-troff',
't' => 'application/x-troff',
'tr' => 'application/x-troff',
'ustar' => 'application/x-ustar',
'src' => 'application/x-wais-source',
'zip' => 'application/zip',
'tsi' => 'audio/TSP-audio',
'au' => 'audio/ulaw',
'snd' => 'audio/basic',
'kar' => 'audio/midi',
'mid' => 'audio/midi',
'midi' => 'audio/midi',
'mp2' => 'video/mpeg',
'mp3' => 'audio/mpeg',
'mpga' => 'audio/mpeg',
'aif' => 'audio/x-aiff',
'aifc' => 'audio/x-aiff',
'aiff' => 'audio/x-aiff',
'm3u' => 'audio/x-mpegurl',
'wax' => 'audio/x-ms-wax',
'wma' => 'audio/x-ms-wma',
'rpm' => 'audio/x-pn-realaudio-plugin',
'ram' => 'audio/x-pn-realaudio',
'rm' => 'audio/x-pn-realaudio',
'ra' => 'audio/x-realaudio',
'wav' => 'audio/x-wav',
'pdb' => 'chemical/x-pdb',
'xyz' => 'chemical/x-pdb',
'ras' => 'image/x-cmu-raster',
'gif' => 'image/gif',
'ief' => 'image/ief',
'jpe' => 'image/jpeg',
'jpeg' => 'image/jpeg',
'jpg' => 'image/jpeg',
'png' => 'image/png',
'tif' => 'image/tiff',
'tiff' => 'image/tiff',
'pnm' => 'image/x-portable-anymap',
'pbm' => 'image/x-portable-bitmap',
'pgm' => 'image/x-portable-graymap',
'ppm' => 'image/x-portable-pixmap',
'rgb' => 'image/x-rgb',
'xbm' => 'image/x-xbitmap',
'xpm' => 'image/x-xpixmap',
'xwd' => 'image/x-xwindowdump',
'iges' => 'model/iges',
'igs' => 'model/iges',
'mesh' => 'model/mesh',
'msh' => 'model/mesh',
'silo' => 'model/mesh',
'vrml' => 'x-world/x-vrml',
'wrl' => 'model/vrml',
'css' => 'text/css',
'htm' => 'text/html',
'html' => 'text/html',
'asc' => 'text/plain',
'txt' => 'text/plain',
'c' => 'text/plain',
'cc' => 'text/plain',
'f90' => 'text/plain',
'f' => 'text/plain',
'h' => 'text/plain',
'hh' => 'text/plain',
'm' => 'text/plain',
'rtx' => 'text/richtext',
'sgm' => 'text/sgml',
'sgml' => 'text/sgml',
'tsv' => 'text/tab-separated-values',
'jad' => 'text/vnd.sun.j2me.app-descriptor',
'etx' => 'text/x-setext',
'xml' => 'text/xml',
'dl' => 'video/dl',
'fli' => 'video/x-fli',
'flv' => 'video/flv',
'gl' => 'video/gl',
'mpe' => 'video/mpeg',
'mpeg' => 'video/mpeg',
'mpg' => 'video/mpeg',
'mov' => 'video/quicktime',
'qt' => 'video/quicktime',
'viv' => 'video/vnd.vivo',
'vivo' => 'video/vnd.vivo',
'asf' => 'video/x-ms-asf',
'asx' => 'video/x-ms-asx',
'wmv' => 'video/x-ms-wmv',
'wmx' => 'video/x-ms-wmx',
'wvx' => 'video/x-ms-wvx',
'avi' => 'video/x-msvideo',
'movie' => 'video/x-sgi-movie',
'mime' => 'www/mime',
'ice' => 'x-conference/x-cooltalk',
'vrm' => 'x-world/x-vrml',
);
?>