Merge branch 'maint/7.0'
[ninja.git] / system / config / mimes.php
blob6a960f245e9351d5986f57b0f063013b8826ee1d
1 <?php defined('SYSPATH') OR die('No direct access allowed.');
2 /**
3 * @package Core
5 * A list of mime types. Our list is generally more complete and accurate than
6 * the operating system MIME list.
8 * If there are any missing options, please create a ticket on our issue tracker,
9 * http://kohanaphp.com/trac/newticket. Be sure to give the filename and
10 * expected MIME type, as well as any additional information you can provide.
12 $config = array
14 '323' => array('text/h323'),
15 '7z' => array('application/x-7z-compressed'),
16 'abw' => array('application/x-abiword'),
17 'acx' => array('application/internet-property-stream'),
18 'ai' => array('application/postscript'),
19 'aif' => array('audio/x-aiff'),
20 'aifc' => array('audio/x-aiff'),
21 'aiff' => array('audio/x-aiff'),
22 'asf' => array('video/x-ms-asf'),
23 'asr' => array('video/x-ms-asf'),
24 'asx' => array('video/x-ms-asf'),
25 'atom' => array('application/atom+xml'),
26 'avi' => array('video/avi', 'video/msvideo', 'video/x-msvideo'),
27 'bin' => array('application/octet-stream','application/macbinary'),
28 'bmp' => array('image/bmp'),
29 'c' => array('text/x-csrc'),
30 'c++' => array('text/x-c++src'),
31 'cab' => array('application/x-cab'),
32 'cc' => array('text/x-c++src'),
33 'cda' => array('application/x-cdf'),
34 'class' => array('application/octet-stream'),
35 'cpp' => array('text/x-c++src'),
36 'cpt' => array('application/mac-compactpro'),
37 'csh' => array('text/x-csh'),
38 'css' => array('text/css'),
39 'csv' => array('text/x-comma-separated-values', 'application/vnd.ms-excel', 'text/comma-separated-values', 'text/csv'),
40 'dbk' => array('application/docbook+xml'),
41 'dcr' => array('application/x-director'),
42 'deb' => array('application/x-debian-package'),
43 'diff' => array('text/x-diff'),
44 'dir' => array('application/x-director'),
45 'divx' => array('video/divx'),
46 'dll' => array('application/octet-stream', 'application/x-msdos-program'),
47 'dmg' => array('application/x-apple-diskimage'),
48 'dms' => array('application/octet-stream'),
49 'doc' => array('application/msword'),
50 'dvi' => array('application/x-dvi'),
51 'dxr' => array('application/x-director'),
52 'eml' => array('message/rfc822'),
53 'eps' => array('application/postscript'),
54 'evy' => array('application/envoy'),
55 'exe' => array('application/x-msdos-program', 'application/octet-stream'),
56 'fla' => array('application/octet-stream'),
57 'flac' => array('application/x-flac'),
58 'flc' => array('video/flc'),
59 'fli' => array('video/fli'),
60 'flv' => array('video/x-flv'),
61 'gif' => array('image/gif'),
62 'gtar' => array('application/x-gtar'),
63 'gz' => array('application/x-gzip'),
64 'h' => array('text/x-chdr'),
65 'h++' => array('text/x-c++hdr'),
66 'hh' => array('text/x-c++hdr'),
67 'hpp' => array('text/x-c++hdr'),
68 'hqx' => array('application/mac-binhex40'),
69 'hs' => array('text/x-haskell'),
70 'htm' => array('text/html'),
71 'html' => array('text/html'),
72 'ico' => array('image/x-icon'),
73 'ics' => array('text/calendar'),
74 'iii' => array('application/x-iphone'),
75 'ins' => array('application/x-internet-signup'),
76 'iso' => array('application/x-iso9660-image'),
77 'isp' => array('application/x-internet-signup'),
78 'jar' => array('application/java-archive'),
79 'java' => array('application/x-java-applet'),
80 'jpe' => array('image/jpeg', 'image/pjpeg'),
81 'jpeg' => array('image/jpeg', 'image/pjpeg'),
82 'jpg' => array('image/jpeg', 'image/pjpeg'),
83 'js' => array('application/x-javascript'),
84 'json' => array('application/json'),
85 'latex' => array('application/x-latex'),
86 'lha' => array('application/octet-stream'),
87 'log' => array('text/plain', 'text/x-log'),
88 'lzh' => array('application/octet-stream'),
89 'm4a' => array('audio/mpeg'),
90 'm4p' => array('video/mp4v-es'),
91 'm4v' => array('video/mp4'),
92 'man' => array('application/x-troff-man'),
93 'mdb' => array('application/x-msaccess'),
94 'midi' => array('audio/midi'),
95 'mid' => array('audio/midi'),
96 'mif' => array('application/vnd.mif'),
97 'mka' => array('audio/x-matroska'),
98 'mkv' => array('video/x-matroska'),
99 'mov' => array('video/quicktime'),
100 'movie' => array('video/x-sgi-movie'),
101 'mp2' => array('audio/mpeg'),
102 'mp3' => array('audio/mpeg'),
103 'mp4' => array('application/mp4','audio/mp4','video/mp4'),
104 'mpa' => array('video/mpeg'),
105 'mpe' => array('video/mpeg'),
106 'mpeg' => array('video/mpeg'),
107 'mpg' => array('video/mpeg'),
108 'mpg4' => array('video/mp4'),
109 'mpga' => array('audio/mpeg'),
110 'mpp' => array('application/vnd.ms-project'),
111 'mpv' => array('video/x-matroska'),
112 'mpv2' => array('video/mpeg'),
113 'ms' => array('application/x-troff-ms'),
114 'msg' => array('application/msoutlook','application/x-msg'),
115 'msi' => array('application/x-msi'),
116 'nws' => array('message/rfc822'),
117 'oda' => array('application/oda'),
118 'odb' => array('application/vnd.oasis.opendocument.database'),
119 'odc' => array('application/vnd.oasis.opendocument.chart'),
120 'odf' => array('application/vnd.oasis.opendocument.forumla'),
121 'odg' => array('application/vnd.oasis.opendocument.graphics'),
122 'odi' => array('application/vnd.oasis.opendocument.image'),
123 'odm' => array('application/vnd.oasis.opendocument.text-master'),
124 'odp' => array('application/vnd.oasis.opendocument.presentation'),
125 'ods' => array('application/vnd.oasis.opendocument.spreadsheet'),
126 'odt' => array('application/vnd.oasis.opendocument.text'),
127 'oga' => array('audio/ogg'),
128 'ogg' => array('application/ogg'),
129 'ogv' => array('video/ogg'),
130 'otg' => array('application/vnd.oasis.opendocument.graphics-template'),
131 'oth' => array('application/vnd.oasis.opendocument.web'),
132 'otp' => array('application/vnd.oasis.opendocument.presentation-template'),
133 'ots' => array('application/vnd.oasis.opendocument.spreadsheet-template'),
134 'ott' => array('application/vnd.oasis.opendocument.template'),
135 'p' => array('text/x-pascal'),
136 'pas' => array('text/x-pascal'),
137 'patch' => array('text/x-diff'),
138 'pbm' => array('image/x-portable-bitmap'),
139 'pdf' => array('application/pdf', 'application/x-download'),
140 'php' => array('application/x-httpd-php'),
141 'php3' => array('application/x-httpd-php'),
142 'php4' => array('application/x-httpd-php'),
143 'php5' => array('application/x-httpd-php'),
144 'phps' => array('application/x-httpd-php-source'),
145 'phtml' => array('application/x-httpd-php'),
146 'pl' => array('text/x-perl'),
147 'pm' => array('text/x-perl'),
148 'png' => array('image/png', 'image/x-png'),
149 'po' => array('text/x-gettext-translation'),
150 'pot' => array('application/vnd.ms-powerpoint'),
151 'pps' => array('application/vnd.ms-powerpoint'),
152 'ppt' => array('application/powerpoint'),
153 'ps' => array('application/postscript'),
154 'psd' => array('application/x-photoshop', 'image/x-photoshop'),
155 'pub' => array('application/x-mspublisher'),
156 'py' => array('text/x-python'),
157 'qt' => array('video/quicktime'),
158 'ra' => array('audio/x-realaudio'),
159 'ram' => array('audio/x-realaudio', 'audio/x-pn-realaudio'),
160 'rar' => array('application/rar'),
161 'rgb' => array('image/x-rgb'),
162 'rm' => array('audio/x-pn-realaudio'),
163 'rpm' => array('audio/x-pn-realaudio-plugin', 'application/x-redhat-package-manager'),
164 'rss' => array('application/rss+xml'),
165 'rtf' => array('text/rtf'),
166 'rtx' => array('text/richtext'),
167 'rv' => array('video/vnd.rn-realvideo'),
168 'sea' => array('application/octet-stream'),
169 'sh' => array('text/x-sh'),
170 'shtml' => array('text/html'),
171 'sit' => array('application/x-stuffit'),
172 'smi' => array('application/smil'),
173 'smil' => array('application/smil'),
174 'so' => array('application/octet-stream'),
175 'src' => array('application/x-wais-source'),
176 'svg' => array('image/svg+xml'),
177 'swf' => array('application/x-shockwave-flash'),
178 't' => array('application/x-troff'),
179 'tar' => array('application/x-tar'),
180 'tcl' => array('text/x-tcl'),
181 'tex' => array('application/x-tex'),
182 'text' => array('text/plain'),
183 'texti' => array('application/x-texinfo'),
184 'textinfo' => array('application/x-texinfo'),
185 'tgz' => array('application/x-tar'),
186 'tif' => array('image/tiff'),
187 'tiff' => array('image/tiff'),
188 'torrent' => array('application/x-bittorrent'),
189 'tr' => array('application/x-troff'),
190 'tsv' => array('text/tab-separated-values'),
191 'txt' => array('text/plain'),
192 'wav' => array('audio/x-wav'),
193 'wax' => array('audio/x-ms-wax'),
194 'wbxml' => array('application/wbxml'),
195 'wm' => array('video/x-ms-wm'),
196 'wma' => array('audio/x-ms-wma'),
197 'wmd' => array('application/x-ms-wmd'),
198 'wmlc' => array('application/wmlc'),
199 'wmv' => array('video/x-ms-wmv', 'application/octet-stream'),
200 'wmx' => array('video/x-ms-wmx'),
201 'wmz' => array('application/x-ms-wmz'),
202 'word' => array('application/msword', 'application/octet-stream'),
203 'wp5' => array('application/wordperfect5.1'),
204 'wpd' => array('application/vnd.wordperfect'),
205 'wvx' => array('video/x-ms-wvx'),
206 'xbm' => array('image/x-xbitmap'),
207 'xcf' => array('image/xcf'),
208 'xhtml' => array('application/xhtml+xml'),
209 'xht' => array('application/xhtml+xml'),
210 'xl' => array('application/excel', 'application/vnd.ms-excel'),
211 'xla' => array('application/excel', 'application/vnd.ms-excel'),
212 'xlc' => array('application/excel', 'application/vnd.ms-excel'),
213 'xlm' => array('application/excel', 'application/vnd.ms-excel'),
214 'xls' => array('application/excel', 'application/vnd.ms-excel'),
215 'xlt' => array('application/excel', 'application/vnd.ms-excel'),
216 'xml' => array('text/xml'),
217 'xof' => array('x-world/x-vrml'),
218 'xpm' => array('image/x-xpixmap'),
219 'xsl' => array('text/xml'),
220 'xvid' => array('video/x-xvid'),
221 'xwd' => array('image/x-xwindowdump'),
222 'z' => array('application/x-compress'),
223 'zip' => array('application/x-zip', 'application/zip', 'application/x-zip-compressed')