PageRenderTime 165ms CodeModel.GetById 70ms app.highlight 17ms RepoModel.GetById 73ms app.codeStats 1ms

/system/config/mimes.php

https://bitbucket.org/chrispiechowicz/zepto
PHP | 227 lines | 219 code | 0 blank | 8 comment | 0 complexity | 0c2e8db65b23532a70e9019a172ee83b MD5 | raw file
  1<?php defined('SYSPATH') OR die('No direct script access.');
  2/**
  3 * A list of mime types. Our list is generally more complete and accurate than
  4 * the operating system MIME list.
  5 *
  6 * If there are any missing options, please create a ticket on our issue tracker,
  7 * http://kohanaphp.com/trac/newticket. Be sure to give the filename and
  8 * expected MIME type, as well as any additional information you can provide.
  9 */
 10return array
 11(
 12	'323'   => array('text/h323'),
 13	'7z'    => array('application/x-7z-compressed'),
 14	'abw'   => array('application/x-abiword'),
 15	'acx'   => array('application/internet-property-stream'),
 16	'ai'    => array('application/postscript'),
 17	'aif'   => array('audio/x-aiff'),
 18	'aifc'  => array('audio/x-aiff'),
 19	'aiff'  => array('audio/x-aiff'),
 20	'amf'   => array('application/x-amf'),
 21	'asf'   => array('video/x-ms-asf'),
 22	'asr'   => array('video/x-ms-asf'),
 23	'asx'   => array('video/x-ms-asf'),
 24	'atom'  => array('application/atom+xml'),
 25	'avi'   => array('video/avi', 'video/msvideo', 'video/x-msvideo'),
 26	'bin'   => array('application/octet-stream','application/macbinary'),
 27	'bmp'   => array('image/bmp'),
 28	'c'     => array('text/x-csrc'),
 29	'c++'   => array('text/x-c++src'),
 30	'cab'   => array('application/x-cab'),
 31	'cc'    => array('text/x-c++src'),
 32	'cda'   => array('application/x-cdf'),
 33	'class' => array('application/octet-stream'),
 34	'cpp'   => array('text/x-c++src'),
 35	'cpt'   => array('application/mac-compactpro'),
 36	'csh'   => array('text/x-csh'),
 37	'css'   => array('text/css'),
 38	'csv'   => array('text/x-comma-separated-values', 'application/vnd.ms-excel', 'text/comma-separated-values', 'text/csv'),
 39	'dbk'   => array('application/docbook+xml'),
 40	'dcr'   => array('application/x-director'),
 41	'deb'   => array('application/x-debian-package'),
 42	'diff'  => array('text/x-diff'),
 43	'dir'   => array('application/x-director'),
 44	'divx'  => array('video/divx'),
 45	'dll'   => array('application/octet-stream', 'application/x-msdos-program'),
 46	'dmg'   => array('application/x-apple-diskimage'),
 47	'dms'   => array('application/octet-stream'),
 48	'doc'   => array('application/msword'),
 49	'docx'  => array('application/vnd.openxmlformats-officedocument.wordprocessingml.document'),
 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/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	'pptx'  => array('application/vnd.openxmlformats-officedocument.presentationml.presentation'),
154	'ps'    => array('application/postscript'),
155	'psd'   => array('application/x-photoshop', 'image/x-photoshop'),
156	'pub'   => array('application/x-mspublisher'),
157	'py'    => array('text/x-python'),
158	'qt'    => array('video/quicktime'),
159	'ra'    => array('audio/x-realaudio'),
160	'ram'   => array('audio/x-realaudio', 'audio/x-pn-realaudio'),
161	'rar'   => array('application/rar'),
162	'rgb'   => array('image/x-rgb'),
163	'rm'    => array('audio/x-pn-realaudio'),
164	'rpm'   => array('audio/x-pn-realaudio-plugin', 'application/x-redhat-package-manager'),
165	'rss'   => array('application/rss+xml'),
166	'rtf'   => array('text/rtf'),
167	'rtx'   => array('text/richtext'),
168	'rv'    => array('video/vnd.rn-realvideo'),
169	'sea'   => array('application/octet-stream'),
170	'sh'    => array('text/x-sh'),
171	'shtml' => array('text/html'),
172	'sit'   => array('application/x-stuffit'),
173	'smi'   => array('application/smil'),
174	'smil'  => array('application/smil'),
175	'so'    => array('application/octet-stream'),
176	'src'   => array('application/x-wais-source'),
177	'svg'   => array('image/svg+xml'),
178	'swf'   => array('application/x-shockwave-flash'),
179	't'     => array('application/x-troff'),
180	'tar'   => array('application/x-tar'),
181	'tcl'   => array('text/x-tcl'),
182	'tex'   => array('application/x-tex'),
183	'text'  => array('text/plain'),
184	'texti' => array('application/x-texinfo'),
185	'textinfo' => array('application/x-texinfo'),
186	'tgz'   => array('application/x-tar'),
187	'tif'   => array('image/tiff'),
188	'tiff'  => array('image/tiff'),
189	'torrent' => array('application/x-bittorrent'),
190	'tr'    => array('application/x-troff'),
191	'tsv'   => array('text/tab-separated-values'),
192	'txt'   => array('text/plain'),
193	'wav'   => array('audio/x-wav'),
194	'wax'   => array('audio/x-ms-wax'),
195	'wbxml' => array('application/wbxml'),
196	'webm'  => array('video/webm'),
197	'wm'    => array('video/x-ms-wm'),
198	'wma'   => array('audio/x-ms-wma'),
199	'wmd'   => array('application/x-ms-wmd'),
200	'wmlc'  => array('application/wmlc'),
201	'wmv'   => array('video/x-ms-wmv', 'application/octet-stream'),
202	'wmx'   => array('video/x-ms-wmx'),
203	'wmz'   => array('application/x-ms-wmz'),
204	'word'  => array('application/msword', 'application/octet-stream'),
205	'wp5'   => array('application/wordperfect5.1'),
206	'wpd'   => array('application/vnd.wordperfect'),
207	'wvx'   => array('video/x-ms-wvx'),
208	'xbm'   => array('image/x-xbitmap'),
209	'xcf'   => array('image/xcf'),
210	'xhtml' => array('application/xhtml+xml'),
211	'xht'   => array('application/xhtml+xml'),
212	'xl'    => array('application/excel', 'application/vnd.ms-excel'),
213	'xla'   => array('application/excel', 'application/vnd.ms-excel'),
214	'xlc'   => array('application/excel', 'application/vnd.ms-excel'),
215	'xlm'   => array('application/excel', 'application/vnd.ms-excel'),
216	'xls'   => array('application/excel', 'application/vnd.ms-excel'),
217	'xlsx'  => array('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'),
218	'xlt'   => array('application/excel', 'application/vnd.ms-excel'),
219	'xml'   => array('text/xml', 'application/xml'),
220	'xof'   => array('x-world/x-vrml'),
221	'xpm'   => array('image/x-xpixmap'),
222	'xsl'   => array('text/xml'),
223	'xvid'  => array('video/x-xvid'),
224	'xwd'   => array('image/x-xwindowdump'),
225	'z'     => array('application/x-compress'),
226	'zip'   => array('application/x-zip', 'application/zip', 'application/x-zip-compressed')
227);