-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMimeMap.php
106 lines (89 loc) · 65.1 KB
/
MimeMap.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
<?php
namespace AC\Transcoding;
class MimeMap
{
private $extension_to_mime_types = array ( 'ez' => array ( 0 => 'application/andrew-inset', ), 'atom' => array ( 0 => 'application/atom+xml', ), 'atomcat' => array ( 0 => 'application/atomcat+xml', ), 'atomsvc' => array ( 0 => 'application/atomsvc+xml', ), 'ccxml' => array ( 0 => 'application/ccxml+xml', ), 'davmount' => array ( 0 => 'application/davmount+xml', ), 'ecma' => array ( 0 => 'application/ecmascript', ), 'pfr' => array ( 0 => 'application/font-tdpfr', ), 'stk' => array ( 0 => 'application/hyperstudio', ), 'js' => array ( 0 => 'application/javascript', ), 'json' => array ( 0 => 'application/json', ), 'lostxml' => array ( 0 => 'application/lost+xml', ), 'hqx' => array ( 0 => 'application/mac-binhex40', ), 'cpt' => array ( 0 => 'application/mac-compactpro', ), 'mrc' => array ( 0 => 'application/marc', ), 'ma' => array ( 0 => 'application/mathematica', ), 'nb' => array ( 0 => 'application/mathematica', ), 'mb' => array ( 0 => 'application/mathematica', ), 'mathml' => array ( 0 => 'application/mathml+xml', ), 'mbox' => array ( 0 => 'application/mbox', ), 'mscml' => array ( 0 => 'application/mediaservercontrol+xml', ), 'mp4s' => array ( 0 => 'application/mp4', ), 'doc' => array ( 0 => 'application/msword', ), 'dot' => array ( 0 => 'application/msword', ), 'mxf' => array ( 0 => 'application/mxf', ), 'bin' => array ( 0 => 'application/octet-stream', ), 'dms' => array ( 0 => 'application/octet-stream', ), 'lha' => array ( 0 => 'application/octet-stream', ), 'lzh' => array ( 0 => 'application/octet-stream', ), 'class' => array ( 0 => 'application/octet-stream', ), 'so' => array ( 0 => 'application/octet-stream', ), 'iso' => array ( 0 => 'application/octet-stream', ), 'dmg' => array ( 0 => 'application/octet-stream', ), 'dist' => array ( 0 => 'application/octet-stream', ), 'distz' => array ( 0 => 'application/octet-stream', ), 'pkg' => array ( 0 => 'application/octet-stream', ), 'bpk' => array ( 0 => 'application/octet-stream', ), 'dump' => array ( 0 => 'application/octet-stream', ), 'elc' => array ( 0 => 'application/octet-stream', ), 'oda' => array ( 0 => 'application/oda', ), 'ogx' => array ( 0 => 'application/ogg', ), 'xer' => array ( 0 => 'application/patch-ops-error+xml', ), 'pdf' => array ( 0 => 'application/pdf', ), 'pgp' => array ( 0 => 'application/pgp-encrypted', ), 'asc' => array ( 0 => 'application/pgp-signature', ), 'sig' => array ( 0 => 'application/pgp-signature', ), 'prf' => array ( 0 => 'application/pics-rules', ), 'p10' => array ( 0 => 'application/pkcs10', ), 'p7m' => array ( 0 => 'application/pkcs7-mime', ), 'p7c' => array ( 0 => 'application/pkcs7-mime', ), 'p7s' => array ( 0 => 'application/pkcs7-signature', ), 'cer' => array ( 0 => 'application/pkix-cert', ), 'crl' => array ( 0 => 'application/pkix-crl', ), 'pkipath' => array ( 0 => 'application/pkix-pkipath', ), 'pki' => array ( 0 => 'application/pkixcmp', ), 'pls' => array ( 0 => 'application/pls+xml', ), 'ai' => array ( 0 => 'application/postscript', ), 'eps' => array ( 0 => 'application/postscript', ), 'ps' => array ( 0 => 'application/postscript', ), 'cww' => array ( 0 => 'application/prs.cww', ), 'rdf' => array ( 0 => 'application/rdf+xml', ), 'rif' => array ( 0 => 'application/reginfo+xml', ), 'rnc' => array ( 0 => 'application/relax-ng-compact-syntax', ), 'rl' => array ( 0 => 'application/resource-lists+xml', ), 'rld' => array ( 0 => 'application/resource-lists-diff+xml', ), 'rs' => array ( 0 => 'application/rls-services+xml', ), 'rsd' => array ( 0 => 'application/rsd+xml', ), 'rss' => array ( 0 => 'application/rss+xml', ), 'rtf' => array ( 0 => 'application/rtf', ), 'sbml' => array ( 0 => 'application/sbml+xml', ), 'scq' => array ( 0 => 'application/scvp-cv-request', ), 'scs' => array ( 0 => 'application/scvp-cv-response', ), 'spq' => array ( 0 => 'application/scvp-vp-request', ), 'spp' => array ( 0 => 'application/scvp-vp-response', ), 'sdp' => array ( 0 => 'application/sdp', ), 'setpay' => array ( 0 => 'application/set-payment-initiation', ), 'setreg' => array ( 0 => 'application/set-registration-initiation', ), 'shf' => array ( 0 => 'application/shf+xml', ), 'smi' => array ( 0 => 'application/smil+xml', ), 'smil' => array ( 0 => 'application/smil+xml', ), 'rq' => array ( 0 => 'application/sparql-query', ), 'srx' => array ( 0 => 'application/sparql-results+xml', ), 'gram' => array ( 0 => 'application/srgs', ), 'grxml' => array ( 0 => 'application/srgs+xml', ), 'ssml' => array ( 0 => 'application/ssml+xml', ), 'plb' => array ( 0 => 'application/vnd.3gpp.pic-bw-large', ), 'psb' => array ( 0 => 'application/vnd.3gpp.pic-bw-small', ), 'pvb' => array ( 0 => 'application/vnd.3gpp.pic-bw-var', ), 'tcap' => array ( 0 => 'application/vnd.3gpp2.tcap', ), 'pwn' => array ( 0 => 'application/vnd.3m.post-it-notes', ), 'aso' => array ( 0 => 'application/vnd.accpac.simply.aso', ), 'imp' => array ( 0 => 'application/vnd.accpac.simply.imp', ), 'acu' => array ( 0 => 'application/vnd.acucobol', ), 'atc' => array ( 0 => 'application/vnd.acucorp', ), 'acutc' => array ( 0 => 'application/vnd.acucorp', ), 'xdp' => array ( 0 => 'application/vnd.adobe.xdp+xml', ), 'xfdf' => array ( 0 => 'application/vnd.adobe.xfdf', ), 'acc' => array ( 0 => 'application/vnd.americandynamics.acc', ), 'ami' => array ( 0 => 'application/vnd.amiga.ami', ), 'cii' => array ( 0 => 'application/vnd.anser-web-certificate-issue-initiation', ), 'fti' => array ( 0 => 'application/vnd.anser-web-funds-transfer-initiation', ), 'atx' => array ( 0 => 'application/vnd.antix.game-component', ), 'mpkg' => array ( 0 => 'application/vnd.apple.installer+xml', ), 'swi' => array ( 0 => 'application/vnd.arastra.swi', ), 'aep' => array ( 0 => 'application/vnd.audiograph', ), 'mpm' => array ( 0 => 'application/vnd.blueice.multipass', ), 'bmi' => array ( 0 => 'application/vnd.bmi', ), 'rep' => array ( 0 => 'application/vnd.businessobjects', ), 'cdxml' => array ( 0 => 'application/vnd.chemdraw+xml', ), 'mmd' => array ( 0 => 'application/vnd.chipnuts.karaoke-mmd', ), 'cdy' => array ( 0 => 'application/vnd.cinderella', ), 'cla' => array ( 0 => 'application/vnd.claymore', ), 'c4g' => array ( 0 => 'application/vnd.clonk.c4group', ), 'c4d' => array ( 0 => 'application/vnd.clonk.c4group', ), 'c4f' => array ( 0 => 'application/vnd.clonk.c4group', ), 'c4p' => array ( 0 => 'application/vnd.clonk.c4group', ), 'c4u' => array ( 0 => 'application/vnd.clonk.c4group', ), 'csp' => array ( 0 => 'application/vnd.commonspace', ), 'cst' => array ( 0 => 'application/vnd.commonspace', ), 'cdbcmsg' => array ( 0 => 'application/vnd.contact.cmsg', ), 'cmc' => array ( 0 => 'application/vnd.cosmocaller', ), 'clkx' => array ( 0 => 'application/vnd.crick.clicker', ), 'clkk' => array ( 0 => 'application/vnd.crick.clicker.keyboard', ), 'clkp' => array ( 0 => 'application/vnd.crick.clicker.palette', ), 'clkt' => array ( 0 => 'application/vnd.crick.clicker.template', ), 'clkw' => array ( 0 => 'application/vnd.crick.clicker.wordbank', ), 'wbs' => array ( 0 => 'application/vnd.criticaltools.wbs+xml', ), 'pml' => array ( 0 => 'application/vnd.ctc-posml', ), 'ppd' => array ( 0 => 'application/vnd.cups-ppd', ), 'curl' => array ( 0 => 'application/vnd.curl', ), 'rdz' => array ( 0 => 'application/vnd.data-vision.rdz', ), 'fe_launch' => array ( 0 => 'application/vnd.denovo.fcselayout-link', ), 'dna' => array ( 0 => 'application/vnd.dna', ), 'mlp' => array ( 0 => 'application/vnd.dolby.mlp', ), 'dpg' => array ( 0 => 'application/vnd.dpgraph', ), 'dfac' => array ( 0 => 'application/vnd.dreamfactory', ), 'mag' => array ( 0 => 'application/vnd.ecowin.chart', ), 'nml' => array ( 0 => 'application/vnd.enliven', ), 'esf' => array ( 0 => 'application/vnd.epson.esf', ), 'msf' => array ( 0 => 'application/vnd.epson.msf', ), 'qam' => array ( 0 => 'application/vnd.epson.quickanime', ), 'slt' => array ( 0 => 'application/vnd.epson.salt', ), 'ssf' => array ( 0 => 'application/vnd.epson.ssf', ), 'es3' => array ( 0 => 'application/vnd.eszigno3+xml', ), 'et3' => array ( 0 => 'application/vnd.eszigno3+xml', ), 'ez2' => array ( 0 => 'application/vnd.ezpix-album', ), 'ez3' => array ( 0 => 'application/vnd.ezpix-package', ), 'fdf' => array ( 0 => 'application/vnd.fdf', ), 'gph' => array ( 0 => 'application/vnd.flographit', ), 'ftc' => array ( 0 => 'application/vnd.fluxtime.clip', ), 'fm' => array ( 0 => 'application/vnd.framemaker', ), 'frame' => array ( 0 => 'application/vnd.framemaker', ), 'maker' => array ( 0 => 'application/vnd.framemaker', ), 'fnc' => array ( 0 => 'application/vnd.frogans.fnc', ), 'ltf' => array ( 0 => 'application/vnd.frogans.ltf', ), 'fsc' => array ( 0 => 'application/vnd.fsc.weblaunch', ), 'oas' => array ( 0 => 'application/vnd.fujitsu.oasys', ), 'oa2' => array ( 0 => 'application/vnd.fujitsu.oasys2', ), 'oa3' => array ( 0 => 'application/vnd.fujitsu.oasys3', ), 'fg5' => array ( 0 => 'application/vnd.fujitsu.oasysgp', ), 'bh2' => array ( 0 => 'application/vnd.fujitsu.oasysprs', ), 'ddd' => array ( 0 => 'application/vnd.fujixerox.ddd', ), 'xdw' => array ( 0 => 'application/vnd.fujixerox.docuworks', ), 'xbd' => array ( 0 => 'application/vnd.fujixerox.docuworks.binder', ), 'fzs' => array ( 0 => 'application/vnd.fuzzysheet', ), 'txd' => array ( 0 => 'application/vnd.genomatix.tuxedo', ), 'gmx' => array ( 0 => 'application/vnd.gmx', ), 'kml' => array ( 0 => 'application/vnd.google-earth.kml+xml', ), 'kmz' => array ( 0 => 'application/vnd.google-earth.kmz', ), 'gqf' => array ( 0 => 'application/vnd.grafeq', ), 'gqs' => array ( 0 => 'application/vnd.grafeq', ), 'gac' => array ( 0 => 'application/vnd.groove-account', ), 'ghf' => array ( 0 => 'application/vnd.groove-help', ), 'gim' => array ( 0 => 'application/vnd.groove-identity-message', ), 'grv' => array ( 0 => 'application/vnd.groove-injector', ), 'gtm' => array ( 0 => 'application/vnd.groove-tool-message', ), 'tpl' => array ( 0 => 'application/vnd.groove-tool-template', ), 'vcg' => array ( 0 => 'application/vnd.groove-vcard', ), 'zmm' => array ( 0 => 'application/vnd.handheld-entertainment+xml', ), 'hbci' => array ( 0 => 'application/vnd.hbci', ), 'les' => array ( 0 => 'application/vnd.hhe.lesson-player', ), 'hpgl' => array ( 0 => 'application/vnd.hp-hpgl', ), 'hpid' => array ( 0 => 'application/vnd.hp-hpid', ), 'hps' => array ( 0 => 'application/vnd.hp-hps', ), 'jlt' => array ( 0 => 'application/vnd.hp-jlyt', ), 'pcl' => array ( 0 => 'application/vnd.hp-pcl', ), 'pclxl' => array ( 0 => 'application/vnd.hp-pclxl', ), 'sfd-hdstx' => array ( 0 => 'application/vnd.hydrostatix.sof-data', ), 'x3d' => array ( 0 => 'application/vnd.hzn-3d-crossword', ), 'mpy' => array ( 0 => 'application/vnd.ibm.minipay', ), 'afp' => array ( 0 => 'application/vnd.ibm.modcap', ), 'listafp' => array ( 0 => 'application/vnd.ibm.modcap', ), 'list3820' => array ( 0 => 'application/vnd.ibm.modcap', ), 'irm' => array ( 0 => 'application/vnd.ibm.rights-management', ), 'sc' => array ( 0 => 'application/vnd.ibm.secure-container', ), 'icc' => array ( 0 => 'application/vnd.iccprofile', ), 'icm' => array ( 0 => 'application/vnd.iccprofile', ), 'igl' => array ( 0 => 'application/vnd.igloader', ), 'ivp' => array ( 0 => 'application/vnd.immervision-ivp', ), 'ivu' => array ( 0 => 'application/vnd.immervision-ivu', ), 'xpw' => array ( 0 => 'application/vnd.intercon.formnet', ), 'xpx' => array ( 0 => 'application/vnd.intercon.formnet', ), 'qbo' => array ( 0 => 'application/vnd.intu.qbo', ), 'qfx' => array ( 0 => 'application/vnd.intu.qfx', ), 'rcprofile' => array ( 0 => 'application/vnd.ipunplugged.rcprofile', ), 'irp' => array ( 0 => 'application/vnd.irepository.package+xml', ), 'xpr' => array ( 0 => 'application/vnd.is-xpr', ), 'jam' => array ( 0 => 'application/vnd.jam', ), 'rms' => array ( 0 => 'application/vnd.jcp.javame.midlet-rms', ), 'jisp' => array ( 0 => 'application/vnd.jisp', ), 'joda' => array ( 0 => 'application/vnd.joost.joda-archive', ), 'ktz' => array ( 0 => 'application/vnd.kahootz', ), 'ktr' => array ( 0 => 'application/vnd.kahootz', ), 'karbon' => array ( 0 => 'application/vnd.kde.karbon', ), 'chrt' => array ( 0 => 'application/vnd.kde.kchart', ), 'kfo' => array ( 0 => 'application/vnd.kde.kformula', ), 'flw' => array ( 0 => 'application/vnd.kde.kivio', ), 'kon' => array ( 0 => 'application/vnd.kde.kontour', ), 'kpr' => array ( 0 => 'application/vnd.kde.kpresenter', ), 'kpt' => array ( 0 => 'application/vnd.kde.kpresenter', ), 'ksp' => array ( 0 => 'application/vnd.kde.kspread', ), 'kwd' => array ( 0 => 'application/vnd.kde.kword', ), 'kwt' => array ( 0 => 'application/vnd.kde.kword', ), 'htke' => array ( 0 => 'application/vnd.kenameaapp', ), 'kia' => array ( 0 => 'application/vnd.kidspiration', ), 'kne' => array ( 0 => 'application/vnd.kinar', ), 'knp' => array ( 0 => 'application/vnd.kinar', ), 'skp' => array ( 0 => 'application/vnd.koan', ), 'skd' => array ( 0 => 'application/vnd.koan', ), 'skt' => array ( 0 => 'application/vnd.koan', ), 'skm' => array ( 0 => 'application/vnd.koan', ), 'sse' => array ( 0 => 'application/vnd.kodak-descriptor', ), 'lbd' => array ( 0 => 'application/vnd.llamagraphics.life-balance.desktop', ), 'lbe' => array ( 0 => 'application/vnd.llamagraphics.life-balance.exchange+xml', ), 123 => array ( 0 => 'application/vnd.lotus-1-2-3', ), 'apr' => array ( 0 => 'application/vnd.lotus-approach', ), 'pre' => array ( 0 => 'application/vnd.lotus-freelance', ), 'nsf' => array ( 0 => 'application/vnd.lotus-notes', ), 'org' => array ( 0 => 'application/vnd.lotus-organizer', ), 'scm' => array ( 0 => 'application/vnd.lotus-screencam', ), 'lwp' => array ( 0 => 'application/vnd.lotus-wordpro', ), 'portpkg' => array ( 0 => 'application/vnd.macports.portpkg', ), 'mcd' => array ( 0 => 'application/vnd.mcd', ), 'mc1' => array ( 0 => 'application/vnd.medcalcdata', ), 'cdkey' => array ( 0 => 'application/vnd.mediastation.cdkey', ), 'mwf' => array ( 0 => 'application/vnd.mfer', ), 'mfm' => array ( 0 => 'application/vnd.mfmp', ), 'flo' => array ( 0 => 'application/vnd.micrografx.flo', ), 'igx' => array ( 0 => 'application/vnd.micrografx.igx', ), 'mif' => array ( 0 => 'application/vnd.mif', ), 'daf' => array ( 0 => 'application/vnd.mobius.daf', ), 'dis' => array ( 0 => 'application/vnd.mobius.dis', ), 'mbk' => array ( 0 => 'application/vnd.mobius.mbk', ), 'mqy' => array ( 0 => 'application/vnd.mobius.mqy', ), 'msl' => array ( 0 => 'application/vnd.mobius.msl', ), 'plc' => array ( 0 => 'application/vnd.mobius.plc', ), 'txf' => array ( 0 => 'application/vnd.mobius.txf', ), 'mpn' => array ( 0 => 'application/vnd.mophun.application', ), 'mpc' => array ( 0 => 'application/vnd.mophun.certificate', ), 'xul' => array ( 0 => 'application/vnd.mozilla.xul+xml', ), 'cil' => array ( 0 => 'application/vnd.ms-artgalry', ), 'asf' => array ( 0 => 'video/x-ms-asf', ), 'cab' => array ( 0 => 'application/vnd.ms-cab-compressed', ), 'xls' => array ( 0 => 'application/vnd.ms-excel', ), 'xlm' => array ( 0 => 'application/vnd.ms-excel', ), 'xla' => array ( 0 => 'application/vnd.ms-excel', ), 'xlc' => array ( 0 => 'application/vnd.ms-excel', ), 'xlt' => array ( 0 => 'application/vnd.ms-excel', ), 'xlw' => array ( 0 => 'application/vnd.ms-excel', ), 'eot' => array ( 0 => 'application/vnd.ms-fontobject', ), 'chm' => array ( 0 => 'application/vnd.ms-htmlhelp', ), 'ims' => array ( 0 => 'application/vnd.ms-ims', ), 'lrm' => array ( 0 => 'application/vnd.ms-lrm', ), 'ppt' => array ( 0 => 'application/vnd.ms-powerpoint', ), 'pps' => array ( 0 => 'application/vnd.ms-powerpoint', ), 'pot' => array ( 0 => 'application/vnd.ms-powerpoint', ), 'mpp' => array ( 0 => 'application/vnd.ms-project', ), 'mpt' => array ( 0 => 'application/vnd.ms-project', ), 'wps' => array ( 0 => 'application/vnd.ms-works', ), 'wks' => array ( 0 => 'application/vnd.ms-works', ), 'wcm' => array ( 0 => 'application/vnd.ms-works', ), 'wdb' => array ( 0 => 'application/vnd.ms-works', ), 'wpl' => array ( 0 => 'application/vnd.ms-wpl', ), 'xps' => array ( 0 => 'application/vnd.ms-xpsdocument', ), 'mseq' => array ( 0 => 'application/vnd.mseq', ), 'mus' => array ( 0 => 'application/vnd.musician', ), 'msty' => array ( 0 => 'application/vnd.muvee.style', ), 'nlu' => array ( 0 => 'application/vnd.neurolanguage.nlu', ), 'nnd' => array ( 0 => 'application/vnd.noblenet-directory', ), 'nns' => array ( 0 => 'application/vnd.noblenet-sealer', ), 'nnw' => array ( 0 => 'application/vnd.noblenet-web', ), 'ngdat' => array ( 0 => 'application/vnd.nokia.n-gage.data', ), 'n-gage' => array ( 0 => 'application/vnd.nokia.n-gage.symbian.install', ), 'rpst' => array ( 0 => 'application/vnd.nokia.radio-preset', ), 'rpss' => array ( 0 => 'application/vnd.nokia.radio-presets', ), 'edm' => array ( 0 => 'application/vnd.novadigm.edm', ), 'edx' => array ( 0 => 'application/vnd.novadigm.edx', ), 'ext' => array ( 0 => 'application/vnd.novadigm.ext', ), 'odc' => array ( 0 => 'application/vnd.oasis.opendocument.chart', ), 'otc' => array ( 0 => 'application/vnd.oasis.opendocument.chart-template', ), 'odf' => array ( 0 => 'application/vnd.oasis.opendocument.formula', ), 'otf' => array ( 0 => 'application/vnd.oasis.opendocument.formula-template', ), 'odg' => array ( 0 => 'application/vnd.oasis.opendocument.graphics', ), 'otg' => array ( 0 => 'application/vnd.oasis.opendocument.graphics-template', ), 'odi' => array ( 0 => 'application/vnd.oasis.opendocument.image', ), 'oti' => array ( 0 => 'application/vnd.oasis.opendocument.image-template', ), 'odp' => array ( 0 => 'application/vnd.oasis.opendocument.presentation', ), 'otp' => array ( 0 => 'application/vnd.oasis.opendocument.presentation-template', ), 'ods' => array ( 0 => 'application/vnd.oasis.opendocument.spreadsheet', ), 'ots' => array ( 0 => 'application/vnd.oasis.opendocument.spreadsheet-template', ), 'odt' => array ( 0 => 'application/vnd.oasis.opendocument.text', ), 'otm' => array ( 0 => 'application/vnd.oasis.opendocument.text-master', ), 'ott' => array ( 0 => 'application/vnd.oasis.opendocument.text-template', ), 'oth' => array ( 0 => 'application/vnd.oasis.opendocument.text-web', ), 'xo' => array ( 0 => 'application/vnd.olpc-sugar', ), 'dd2' => array ( 0 => 'application/vnd.oma.dd2+xml', ), 'oxt' => array ( 0 => 'application/vnd.openofficeorg.extension', ), 'dp' => array ( 0 => 'application/vnd.osgi.dp', ), 'prc' => array ( 0 => 'application/vnd.palm', ), 'pdb' => array ( 0 => 'chemical/x-pdb', ), 'pqa' => array ( 0 => 'application/vnd.palm', ), 'oprc' => array ( 0 => 'application/vnd.palm', ), 'str' => array ( 0 => 'application/vnd.pg.format', ), 'ei6' => array ( 0 => 'application/vnd.pg.osasli', ), 'efif' => array ( 0 => 'application/vnd.picsel', ), 'plf' => array ( 0 => 'application/vnd.pocketlearn', ), 'pbd' => array ( 0 => 'application/vnd.powerbuilder6', ), 'box' => array ( 0 => 'application/vnd.previewsystems.box', ), 'mgz' => array ( 0 => 'application/vnd.proteus.magazine', ), 'qps' => array ( 0 => 'application/vnd.publishare-delta-tree', ), 'ptid' => array ( 0 => 'application/vnd.pvi.ptid1', ), 'qxd' => array ( 0 => 'application/vnd.quark.quarkxpress', ), 'qxt' => array ( 0 => 'application/vnd.quark.quarkxpress', ), 'qwd' => array ( 0 => 'application/vnd.quark.quarkxpress', ), 'qwt' => array ( 0 => 'application/vnd.quark.quarkxpress', ), 'qxl' => array ( 0 => 'application/vnd.quark.quarkxpress', ), 'qxb' => array ( 0 => 'application/vnd.quark.quarkxpress', ), 'mxl' => array ( 0 => 'application/vnd.recordare.musicxml', ), 'rm' => array ( 0 => 'application/vnd.rn-realmedia', ), 'link66' => array ( 0 => 'application/vnd.route66.link66+xml', ), 'see' => array ( 0 => 'application/vnd.seemail', ), 'sema' => array ( 0 => 'application/vnd.sema', ), 'semd' => array ( 0 => 'application/vnd.semd', ), 'semf' => array ( 0 => 'application/vnd.semf', ), 'ifm' => array ( 0 => 'application/vnd.shana.informed.formdata', ), 'itp' => array ( 0 => 'application/vnd.shana.informed.formtemplate', ), 'iif' => array ( 0 => 'application/vnd.shana.informed.interchange', ), 'ipk' => array ( 0 => 'application/vnd.shana.informed.package', ), 'twd' => array ( 0 => 'application/vnd.simtech-mindmapper', ), 'twds' => array ( 0 => 'application/vnd.simtech-mindmapper', ), 'mmf' => array ( 0 => 'application/vnd.smaf', ), 'sdkm' => array ( 0 => 'application/vnd.solent.sdkm+xml', ), 'sdkd' => array ( 0 => 'application/vnd.solent.sdkm+xml', ), 'dxp' => array ( 0 => 'application/vnd.spotfire.dxp', ), 'sfs' => array ( 0 => 'application/vnd.spotfire.sfs', ), 'sus' => array ( 0 => 'application/vnd.sus-calendar', ), 'susp' => array ( 0 => 'application/vnd.sus-calendar', ), 'svd' => array ( 0 => 'application/vnd.svd', ), 'xsm' => array ( 0 => 'application/vnd.syncml+xml', ), 'bdm' => array ( 0 => 'application/vnd.syncml.dm+wbxml', ), 'xdm' => array ( 0 => 'application/vnd.syncml.dm+xml', ), 'tao' => array ( 0 => 'application/vnd.tao.intent-module-archive', ), 'tmo' => array ( 0 => 'application/vnd.tmobile-livetv', ), 'tpt' => array ( 0 => 'application/vnd.trid.tpt', ), 'mxs' => array ( 0 => 'application/vnd.triscape.mxs', ), 'tra' => array ( 0 => 'application/vnd.trueapp', ), 'ufd' => array ( 0 => 'application/vnd.ufdl', ), 'ufdl' => array ( 0 => 'application/vnd.ufdl', ), 'utz' => array ( 0 => 'application/vnd.uiq.theme', ), 'umj' => array ( 0 => 'application/vnd.umajin', ), 'unityweb' => array ( 0 => 'application/vnd.unity', ), 'uoml' => array ( 0 => 'application/vnd.uoml+xml', ), 'vcx' => array ( 0 => 'application/vnd.vcx', ), 'vsd' => array ( 0 => 'application/vnd.visio', ), 'vst' => array ( 0 => 'application/vnd.visio', ), 'vss' => array ( 0 => 'application/vnd.visio', ), 'vsw' => array ( 0 => 'application/vnd.visio', ), 'vis' => array ( 0 => 'application/vnd.visionary', ), 'vsf' => array ( 0 => 'application/vnd.vsf', ), 'wbxml' => array ( 0 => 'application/vnd.wap.wbxml', ), 'wmlc' => array ( 0 => 'application/vnd.wap.wmlc', ), 'wmlsc' => array ( 0 => 'application/vnd.wap.wmlscriptc', ), 'wtb' => array ( 0 => 'application/vnd.webturbo', ), 'wpd' => array ( 0 => 'application/vnd.wordperfect', ), 'wqd' => array ( 0 => 'application/vnd.wqd', ), 'stf' => array ( 0 => 'application/vnd.wt.stf', ), 'xar' => array ( 0 => 'application/vnd.xara', ), 'xfdl' => array ( 0 => 'application/vnd.xfdl', ), 'hvd' => array ( 0 => 'application/vnd.yamaha.hv-dic', ), 'hvs' => array ( 0 => 'application/vnd.yamaha.hv-script', ), 'hvp' => array ( 0 => 'application/vnd.yamaha.hv-voice', ), 'saf' => array ( 0 => 'application/vnd.yamaha.smaf-audio', ), 'spf' => array ( 0 => 'application/vnd.yamaha.smaf-phrase', ), 'cmp' => array ( 0 => 'application/vnd.yellowriver-custom-menu', ), 'zaz' => array ( 0 => 'application/vnd.zzazz.deck+xml', ), 'vxml' => array ( 0 => 'application/voicexml+xml', ), 'hlp' => array ( 0 => 'application/winhlp', ), 'wsdl' => array ( 0 => 'application/wsdl+xml', ), 'wspolicy' => array ( 0 => 'application/wspolicy+xml', ), 'ace' => array ( 0 => 'application/x-ace-compressed', ), 'bcpio' => array ( 0 => 'application/x-bcpio', ), 'torrent' => array ( 0 => 'application/x-bittorrent', ), 'bz' => array ( 0 => 'application/x-bzip', ), 'bz2' => array ( 0 => 'application/x-bzip2', ), 'boz' => array ( 0 => 'application/x-bzip2', ), 'vcd' => array ( 0 => 'application/x-cdlink', ), 'chat' => array ( 0 => 'application/x-chat', ), 'pgn' => array ( 0 => 'application/x-chess-pgn', ), 'cpio' => array ( 0 => 'application/x-cpio', ), 'csh' => array ( 0 => 'application/x-csh', ), 'dcr' => array ( 0 => 'application/x-director', ), 'dir' => array ( 0 => 'application/x-director', ), 'dxr' => array ( 0 => 'application/x-director', ), 'fgd' => array ( 0 => 'application/x-director', ), 'dvi' => array ( 0 => 'application/x-dvi', ), 'spl' => array ( 0 => 'application/x-futuresplash', ), 'gtar' => array ( 0 => 'application/x-gtar', ), 'hdf' => array ( 0 => 'application/x-hdf', ), 'latex' => array ( 0 => 'application/x-latex', ), 'wmd' => array ( 0 => 'application/x-ms-wmd', ), 'wmz' => array ( 0 => 'application/x-ms-wmz', ), 'mdb' => array ( 0 => 'application/x-msaccess', ), 'obd' => array ( 0 => 'application/x-msbinder', ), 'crd' => array ( 0 => 'application/x-mscardfile', ), 'clp' => array ( 0 => 'application/x-msclip', ), 'exe' => array ( 0 => 'application/x-msdownload', ), 'dll' => array ( 0 => 'application/x-msdownload', ), 'com' => array ( 0 => 'application/x-msdownload', ), 'bat' => array ( 0 => 'application/x-msdownload', ), 'msi' => array ( 0 => 'application/x-msdownload', ), 'mvb' => array ( 0 => 'application/x-msmediaview', ), 'm13' => array ( 0 => 'application/x-msmediaview', ), 'm14' => array ( 0 => 'application/x-msmediaview', ), 'wmf' => array ( 0 => 'application/x-msmetafile', ), 'mny' => array ( 0 => 'application/x-msmoney', ), 'pub' => array ( 0 => 'application/x-mspublisher', ), 'scd' => array ( 0 => 'application/x-msschedule', ), 'trm' => array ( 0 => 'application/x-msterminal', ), 'wri' => array ( 0 => 'application/x-mswrite', ), 'nc' => array ( 0 => 'application/x-netcdf', ), 'cdf' => array ( 0 => 'application/x-netcdf', ), 'p12' => array ( 0 => 'application/x-pkcs12', ), 'pfx' => array ( 0 => 'application/x-pkcs12', ), 'p7b' => array ( 0 => 'application/x-pkcs7-certificates', ), 'spc' => array ( 0 => 'application/x-pkcs7-certificates', ), 'p7r' => array ( 0 => 'application/x-pkcs7-certreqresp', ), 'rar' => array ( 0 => 'application/x-rar-compressed', ), 'sh' => array ( 0 => 'application/x-sh', ), 'shar' => array ( 0 => 'application/x-shar', ), 'swf' => array ( 0 => 'application/x-shockwave-flash', ), 'sit' => array ( 0 => 'application/x-stuffit', ), 'sitx' => array ( 0 => 'application/x-stuffitx', ), 'sv4cpio' => array ( 0 => 'application/x-sv4cpio', ), 'sv4crc' => array ( 0 => 'application/x-sv4crc', ), 'tar' => array ( 0 => 'application/x-tar', ), 'tcl' => array ( 0 => 'application/x-tcl', ), 'tex' => array ( 0 => 'application/x-tex', ), 'texinfo' => array ( 0 => 'application/x-texinfo', ), 'texi' => array ( 0 => 'application/x-texinfo', ), 'ustar' => array ( 0 => 'application/x-ustar', ), 'src' => array ( 0 => 'application/x-wais-source', ), 'der' => array ( 0 => 'application/x-x509-ca-cert', ), 'crt' => array ( 0 => 'application/x-x509-ca-cert', ), 'xenc' => array ( 0 => 'application/xenc+xml', ), 'xhtml' => array ( 0 => 'application/xhtml+xml', ), 'xht' => array ( 0 => 'application/xhtml+xml', ), 'xml' => array ( 0 => 'application/xml', ), 'xsl' => array ( 0 => 'application/xml', ), 'dtd' => array ( 0 => 'application/xml-dtd', ), 'xop' => array ( 0 => 'application/xop+xml', ), 'xslt' => array ( 0 => 'application/xslt+xml', ), 'xspf' => array ( 0 => 'application/xspf+xml', ), 'mxml' => array ( 0 => 'application/xv+xml', ), 'xhvml' => array ( 0 => 'application/xv+xml', ), 'xvml' => array ( 0 => 'application/xv+xml', ), 'xvm' => array ( 0 => 'application/xv+xml', ), 'zip' => array ( 0 => 'application/zip', ), 'au' => array ( 0 => 'audio/basic', ), 'snd' => array ( 0 => 'audio/basic', ), 'mid' => array ( 0 => 'audio/midi', ), 'midi' => array ( 0 => 'audio/midi', ), 'kar' => array ( 0 => 'audio/midi', ), 'rmi' => array ( 0 => 'audio/midi', ), 'mp4a' => array ( 0 => 'audio/mp4', ), 'mpga' => array ( 0 => 'audio/mpeg', ), 'mp2' => array ( 0 => 'audio/mpeg', ), 'mp2a' => array ( 0 => 'audio/mpeg', ), 'mp3' => array ( 0 => 'audio/mpeg', ), 'm2a' => array ( 0 => 'audio/mpeg', ), 'm3a' => array ( 0 => 'audio/mpeg', ), 'oga' => array ( 0 => 'audio/ogg', ), 'ogg' => array ( 0 => 'audio/ogg', ), 'spx' => array ( 0 => 'audio/ogg', ), 'eol' => array ( 0 => 'audio/vnd.digital-winds', ), 'dts' => array ( 0 => 'audio/vnd.dts', ), 'dtshd' => array ( 0 => 'audio/vnd.dts.hd', ), 'lvp' => array ( 0 => 'audio/vnd.lucent.voice', ), 'pya' => array ( 0 => 'audio/vnd.ms-playready.media.pya', ), 'ecelp4800' => array ( 0 => 'audio/vnd.nuera.ecelp4800', ), 'ecelp7470' => array ( 0 => 'audio/vnd.nuera.ecelp7470', ), 'ecelp9600' => array ( 0 => 'audio/vnd.nuera.ecelp9600', ), 'wav' => array ( 0 => 'audio/x-wav', ), 'aif' => array ( 0 => 'audio/x-aiff', ), 'aiff' => array ( 0 => 'audio/x-aiff', ), 'aifc' => array ( 0 => 'audio/x-aiff', ), 'm3u' => array ( 0 => 'audio/x-mpegurl', ), 'wax' => array ( 0 => 'audio/x-ms-wax', ), 'wma' => array ( 0 => 'audio/x-ms-wma', ), 'ram' => array ( 0 => 'audio/x-pn-realaudio', ), 'ra' => array ( 0 => 'audio/x-pn-realaudio', ), 'rmp' => array ( 0 => 'audio/x-pn-realaudio-plugin', ), 'cdx' => array ( 0 => 'chemical/x-cdx', ), 'cif' => array ( 0 => 'chemical/x-cif', ), 'cmdf' => array ( 0 => 'chemical/x-cmdf', ), 'cml' => array ( 0 => 'chemical/x-cml', ), 'csml' => array ( 0 => 'chemical/x-csml', ), 'xyz' => array ( 0 => 'chemical/x-xyz', ), 'bmp' => array ( 0 => 'image/bmp', ), 'cgm' => array ( 0 => 'image/cgm', ), 'g3' => array ( 0 => 'image/g3fax', ), 'gif' => array ( 0 => 'image/gif', ), 'ief' => array ( 0 => 'image/ief', ), 'jpeg' => array ( 0 => 'image/jpeg', ), 'jpg' => array ( 0 => 'image/jpeg', ), 'jpe' => array ( 0 => 'image/jpeg', ), 'png' => array ( 0 => 'image/png', ), 'btif' => array ( 0 => 'image/prs.btif', ), 'svg' => array ( 0 => 'image/svg+xml', ), 'svgz' => array ( 0 => 'image/svg+xml', ), 'tiff' => array ( 0 => 'image/tiff', ), 'tif' => array ( 0 => 'image/tiff', ), 'psd' => array ( 0 => 'image/vnd.adobe.photoshop', ), 'djvu' => array ( 0 => 'image/vnd.djvu', ), 'djv' => array ( 0 => 'image/vnd.djvu', ), 'dwg' => array ( 0 => 'image/vnd.dwg', ), 'dxf' => array ( 0 => 'image/vnd.dxf', ), 'fbs' => array ( 0 => 'image/vnd.fastbidsheet', ), 'fpx' => array ( 0 => 'image/vnd.fpx', ), 'fst' => array ( 0 => 'image/vnd.fst', ), 'mmr' => array ( 0 => 'image/vnd.fujixerox.edmics-mmr', ), 'rlc' => array ( 0 => 'image/vnd.fujixerox.edmics-rlc', ), 'mdi' => array ( 0 => 'image/vnd.ms-modi', ), 'npx' => array ( 0 => 'image/vnd.net-fpx', ), 'wbmp' => array ( 0 => 'image/vnd.wap.wbmp', ), 'xif' => array ( 0 => 'image/vnd.xiff', ), 'ras' => array ( 0 => 'image/x-cmu-raster', ), 'cmx' => array ( 0 => 'image/x-cmx', ), 'ico' => array ( 0 => 'image/x-icon', ), 'pcx' => array ( 0 => 'image/x-pcx', ), 'pic' => array ( 0 => 'image/x-pict', ), 'pct' => array ( 0 => 'image/x-pict', ), 'pnm' => array ( 0 => 'image/x-portable-anymap', ), 'pbm' => array ( 0 => 'image/x-portable-bitmap', ), 'pgm' => array ( 0 => 'image/x-portable-graymap', ), 'ppm' => array ( 0 => 'image/x-portable-pixmap', ), 'rgb' => array ( 0 => 'image/x-rgb', ), 'xbm' => array ( 0 => 'image/x-xbitmap', ), 'xpm' => array ( 0 => 'image/x-xpixmap', ), 'xwd' => array ( 0 => 'image/x-xwindowdump', ), 'eml' => array ( 0 => 'message/rfc822', ), 'mime' => array ( 0 => 'message/rfc822', ), 'igs' => array ( 0 => 'model/iges', ), 'iges' => array ( 0 => 'model/iges', ), 'msh' => array ( 0 => 'model/mesh', ), 'mesh' => array ( 0 => 'model/mesh', ), 'silo' => array ( 0 => 'model/mesh', ), 'dwf' => array ( 0 => 'model/vnd.dwf', ), 'gdl' => array ( 0 => 'model/vnd.gdl', ), 'gtw' => array ( 0 => 'model/vnd.gtw', ), 'mts' => array ( 0 => 'model/vnd.mts', ), 'vtu' => array ( 0 => 'model/vnd.vtu', ), 'wrl' => array ( 0 => 'model/vrml', ), 'vrml' => array ( 0 => 'model/vrml', ), 'ics' => array ( 0 => 'text/calendar', ), 'ifb' => array ( 0 => 'text/calendar', ), 'css' => array ( 0 => 'text/css', ), 'csv' => array ( 0 => 'text/csv', ), 'html' => array ( 0 => 'text/html', ), 'htm' => array ( 0 => 'text/html', ), 'txt' => array ( 0 => 'text/plain', ), 'text' => array ( 0 => 'text/plain', ), 'conf' => array ( 0 => 'text/plain', ), 'def' => array ( 0 => 'text/plain', ), 'list' => array ( 0 => 'text/plain', ), 'log' => array ( 0 => 'text/plain', ), 'in' => array ( 0 => 'text/plain', ), 'dsc' => array ( 0 => 'text/prs.lines.tag', ), 'rtx' => array ( 0 => 'text/richtext', ), 'sgml' => array ( 0 => 'text/sgml', ), 'sgm' => array ( 0 => 'text/sgml', ), 'tsv' => array ( 0 => 'text/tab-separated-values', ), 't' => array ( 0 => 'text/troff', ), 'tr' => array ( 0 => 'text/troff', ), 'roff' => array ( 0 => 'text/troff', ), 'man' => array ( 0 => 'text/troff', ), 'me' => array ( 0 => 'text/troff', ), 'ms' => array ( 0 => 'text/troff', ), 'uri' => array ( 0 => 'text/uri-list', ), 'uris' => array ( 0 => 'text/uri-list', ), 'urls' => array ( 0 => 'text/uri-list', ), 'fly' => array ( 0 => 'text/vnd.fly', ), 'flx' => array ( 0 => 'text/vnd.fmi.flexstor', ), 'gv' => array ( 0 => 'text/vnd.graphviz', ), '3dml' => array ( 0 => 'text/vnd.in3d.3dml', ), 'spot' => array ( 0 => 'text/vnd.in3d.spot', ), 'jad' => array ( 0 => 'text/vnd.sun.j2me.app-descriptor', ), 'wml' => array ( 0 => 'text/vnd.wap.wml', ), 'wmls' => array ( 0 => 'text/vnd.wap.wmlscript', ), 's' => array ( 0 => 'text/x-asm', ), 'asm' => array ( 0 => 'text/x-asm', ), 'c' => array ( 0 => 'text/x-c', ), 'cc' => array ( 0 => 'text/x-c', ), 'cxx' => array ( 0 => 'text/x-c', ), 'cpp' => array ( 0 => 'text/x-c', ), 'h' => array ( 0 => 'text/x-c', ), 'hh' => array ( 0 => 'text/x-c', ), 'dic' => array ( 0 => 'text/x-c', ), 'f' => array ( 0 => 'text/x-fortran', ), 'for' => array ( 0 => 'text/x-fortran', ), 'f77' => array ( 0 => 'text/x-fortran', ), 'f90' => array ( 0 => 'text/x-fortran', ), 'p' => array ( 0 => 'text/x-pascal', ), 'pas' => array ( 0 => 'text/x-pascal', ), 'java' => array ( 0 => 'text/x-java-source', ), 'etx' => array ( 0 => 'text/x-setext', ), 'uu' => array ( 0 => 'text/x-uuencode', ), 'vcs' => array ( 0 => 'text/x-vcalendar', ), 'vcf' => array ( 0 => 'text/x-vcard', ), '3gp' => array ( 0 => 'video/3gpp', ), '3g2' => array ( 0 => 'video/3gpp2', ), 'h261' => array ( 0 => 'video/h261', ), 'h263' => array ( 0 => 'video/h263', ), 'h264' => array ( 0 => 'video/h264', ), 'jpgv' => array ( 0 => 'video/jpeg', ), 'jpm' => array ( 0 => 'video/jpm', ), 'jpgm' => array ( 0 => 'video/jpm', ), 'mj2' => array ( 0 => 'video/mj2', ), 'mjp2' => array ( 0 => 'video/mj2', ), 'mp4' => array ( 0 => 'video/mp4', ), 'mp4v' => array ( 0 => 'video/mp4', ), 'mpg4' => array ( 0 => 'video/mp4', ), 'mpeg' => array ( 0 => 'video/mpeg', ), 'mpg' => array ( 0 => 'video/mpeg', ), 'mpe' => array ( 0 => 'video/mpeg', ), 'm1v' => array ( 0 => 'video/mpeg', ), 'm2v' => array ( 0 => 'video/mpeg', ), 'ogv' => array ( 0 => 'video/ogg', ), 'qt' => array ( 0 => 'video/quicktime', ), 'mov' => array ( 0 => 'video/quicktime', ), 'fvt' => array ( 0 => 'video/vnd.fvt', ), 'mxu' => array ( 0 => 'video/vnd.mpegurl', ), 'm4u' => array ( 0 => 'video/vnd.mpegurl', ), 'pyv' => array ( 0 => 'video/vnd.ms-playready.media.pyv', ), 'viv' => array ( 0 => 'video/vnd.vivo', ), 'fli' => array ( 0 => 'video/x-fli', ), 'asx' => array ( 0 => 'video/x-ms-asf', ), 'wm' => array ( 0 => 'video/x-ms-wm', ), 'wmv' => array ( 0 => 'video/x-ms-wmv', ), 'wmx' => array ( 0 => 'video/x-ms-wmx', ), 'wvx' => array ( 0 => 'video/x-ms-wvx', ), 'avi' => array ( 0 => 'video/x-msvideo', ), 'movie' => array ( 0 => 'video/x-sgi-movie', ), 'ice' => array ( 0 => 'x-conference/x-cooltalk', ),);
private $mime_type_to_extensions = array ( 'application/andrew-inset' => array ( 0 => 'ez', ), 'application/atom+xml' => array ( 0 => 'atom', ), 'application/atomcat+xml' => array ( 0 => 'atomcat', ), 'application/atomsvc+xml' => array ( 0 => 'atomsvc', ), 'application/ccxml+xml' => array ( 0 => 'ccxml', ), 'application/davmount+xml' => array ( 0 => 'davmount', ), 'application/ecmascript' => array ( 0 => 'ecma', ), 'application/font-tdpfr' => array ( 0 => 'pfr', ), 'application/hyperstudio' => array ( 0 => 'stk', ), 'application/javascript' => array ( 0 => 'js', ), 'application/json' => array ( 0 => 'json', ), 'application/lost+xml' => array ( 0 => 'lostxml', ), 'application/mac-binhex40' => array ( 0 => 'hqx', ), 'application/mac-compactpro' => array ( 0 => 'cpt', ), 'application/marc' => array ( 0 => 'mrc', ), 'application/mathematica' => array ( 0 => 'ma', 1 => 'nb', 2 => 'mb', ), 'application/mathml+xml' => array ( 0 => 'mathml', ), 'application/mbox' => array ( 0 => 'mbox', ), 'application/mediaservercontrol+xml' => array ( 0 => 'mscml', ), 'application/mp4' => array ( 0 => 'mp4s', ), 'application/msword' => array ( 0 => 'doc', 1 => 'dot', ), 'application/mxf' => array ( 0 => 'mxf', ), 'application/octet-stream' => array ( 0 => 'bin', 1 => 'dms', 2 => 'lha', 3 => 'lzh', 4 => 'class', 5 => 'so', 6 => 'iso', 7 => 'dmg', 8 => 'dist', 9 => 'distz', 10 => 'pkg', 11 => 'bpk', 12 => 'dump', 13 => 'elc', ), 'application/oda' => array ( 0 => 'oda', ), 'application/ogg' => array ( 0 => 'ogx', ), 'application/patch-ops-error+xml' => array ( 0 => 'xer', ), 'application/pdf' => array ( 0 => 'pdf', ), 'application/pgp-encrypted' => array ( 0 => 'pgp', ), 'application/pgp-signature' => array ( 0 => 'asc', 1 => 'sig', ), 'application/pics-rules' => array ( 0 => 'prf', ), 'application/pkcs10' => array ( 0 => 'p10', ), 'application/pkcs7-mime' => array ( 0 => 'p7m', 1 => 'p7c', ), 'application/pkcs7-signature' => array ( 0 => 'p7s', ), 'application/pkix-cert' => array ( 0 => 'cer', ), 'application/pkix-crl' => array ( 0 => 'crl', ), 'application/pkix-pkipath' => array ( 0 => 'pkipath', ), 'application/pkixcmp' => array ( 0 => 'pki', ), 'application/pls+xml' => array ( 0 => 'pls', ), 'application/postscript' => array ( 0 => 'ai', 1 => 'eps', 2 => 'ps', ), 'application/prs.cww' => array ( 0 => 'cww', ), 'application/rdf+xml' => array ( 0 => 'rdf', ), 'application/reginfo+xml' => array ( 0 => 'rif', ), 'application/relax-ng-compact-syntax' => array ( 0 => 'rnc', ), 'application/resource-lists+xml' => array ( 0 => 'rl', ), 'application/resource-lists-diff+xml' => array ( 0 => 'rld', ), 'application/rls-services+xml' => array ( 0 => 'rs', ), 'application/rsd+xml' => array ( 0 => 'rsd', ), 'application/rss+xml' => array ( 0 => 'rss', ), 'application/rtf' => array ( 0 => 'rtf', ), 'application/sbml+xml' => array ( 0 => 'sbml', ), 'application/scvp-cv-request' => array ( 0 => 'scq', ), 'application/scvp-cv-response' => array ( 0 => 'scs', ), 'application/scvp-vp-request' => array ( 0 => 'spq', ), 'application/scvp-vp-response' => array ( 0 => 'spp', ), 'application/sdp' => array ( 0 => 'sdp', ), 'application/set-payment-initiation' => array ( 0 => 'setpay', ), 'application/set-registration-initiation' => array ( 0 => 'setreg', ), 'application/shf+xml' => array ( 0 => 'shf', ), 'application/smil+xml' => array ( 0 => 'smi', 1 => 'smil', ), 'application/sparql-query' => array ( 0 => 'rq', ), 'application/sparql-results+xml' => array ( 0 => 'srx', ), 'application/srgs' => array ( 0 => 'gram', ), 'application/srgs+xml' => array ( 0 => 'grxml', ), 'application/ssml+xml' => array ( 0 => 'ssml', ), 'application/vnd.3gpp.pic-bw-large' => array ( 0 => 'plb', ), 'application/vnd.3gpp.pic-bw-small' => array ( 0 => 'psb', ), 'application/vnd.3gpp.pic-bw-var' => array ( 0 => 'pvb', ), 'application/vnd.3gpp2.tcap' => array ( 0 => 'tcap', ), 'application/vnd.3m.post-it-notes' => array ( 0 => 'pwn', ), 'application/vnd.accpac.simply.aso' => array ( 0 => 'aso', ), 'application/vnd.accpac.simply.imp' => array ( 0 => 'imp', ), 'application/vnd.acucobol' => array ( 0 => 'acu', ), 'application/vnd.acucorp' => array ( 0 => 'atc', 1 => 'acutc', ), 'application/vnd.adobe.xdp+xml' => array ( 0 => 'xdp', ), 'application/vnd.adobe.xfdf' => array ( 0 => 'xfdf', ), 'application/vnd.americandynamics.acc' => array ( 0 => 'acc', ), 'application/vnd.amiga.ami' => array ( 0 => 'ami', ), 'application/vnd.anser-web-certificate-issue-initiation' => array ( 0 => 'cii', ), 'application/vnd.anser-web-funds-transfer-initiation' => array ( 0 => 'fti', ), 'application/vnd.antix.game-component' => array ( 0 => 'atx', ), 'application/vnd.apple.installer+xml' => array ( 0 => 'mpkg', ), 'application/vnd.arastra.swi' => array ( 0 => 'swi', ), 'application/vnd.audiograph' => array ( 0 => 'aep', ), 'application/vnd.blueice.multipass' => array ( 0 => 'mpm', ), 'application/vnd.bmi' => array ( 0 => 'bmi', ), 'application/vnd.businessobjects' => array ( 0 => 'rep', ), 'application/vnd.chemdraw+xml' => array ( 0 => 'cdxml', ), 'application/vnd.chipnuts.karaoke-mmd' => array ( 0 => 'mmd', ), 'application/vnd.cinderella' => array ( 0 => 'cdy', ), 'application/vnd.claymore' => array ( 0 => 'cla', ), 'application/vnd.clonk.c4group' => array ( 0 => 'c4g', 1 => 'c4d', 2 => 'c4f', 3 => 'c4p', 4 => 'c4u', ), 'application/vnd.commonspace' => array ( 0 => 'csp', 1 => 'cst', ), 'application/vnd.contact.cmsg' => array ( 0 => 'cdbcmsg', ), 'application/vnd.cosmocaller' => array ( 0 => 'cmc', ), 'application/vnd.crick.clicker' => array ( 0 => 'clkx', ), 'application/vnd.crick.clicker.keyboard' => array ( 0 => 'clkk', ), 'application/vnd.crick.clicker.palette' => array ( 0 => 'clkp', ), 'application/vnd.crick.clicker.template' => array ( 0 => 'clkt', ), 'application/vnd.crick.clicker.wordbank' => array ( 0 => 'clkw', ), 'application/vnd.criticaltools.wbs+xml' => array ( 0 => 'wbs', ), 'application/vnd.ctc-posml' => array ( 0 => 'pml', ), 'application/vnd.cups-ppd' => array ( 0 => 'ppd', ), 'application/vnd.curl' => array ( 0 => 'curl', ), 'application/vnd.data-vision.rdz' => array ( 0 => 'rdz', ), 'application/vnd.denovo.fcselayout-link' => array ( 0 => 'fe_launch', ), 'application/vnd.dna' => array ( 0 => 'dna', ), 'application/vnd.dolby.mlp' => array ( 0 => 'mlp', ), 'application/vnd.dpgraph' => array ( 0 => 'dpg', ), 'application/vnd.dreamfactory' => array ( 0 => 'dfac', ), 'application/vnd.ecowin.chart' => array ( 0 => 'mag', ), 'application/vnd.enliven' => array ( 0 => 'nml', ), 'application/vnd.epson.esf' => array ( 0 => 'esf', ), 'application/vnd.epson.msf' => array ( 0 => 'msf', ), 'application/vnd.epson.quickanime' => array ( 0 => 'qam', ), 'application/vnd.epson.salt' => array ( 0 => 'slt', ), 'application/vnd.epson.ssf' => array ( 0 => 'ssf', ), 'application/vnd.eszigno3+xml' => array ( 0 => 'es3', 1 => 'et3', ), 'application/vnd.ezpix-album' => array ( 0 => 'ez2', ), 'application/vnd.ezpix-package' => array ( 0 => 'ez3', ), 'application/vnd.fdf' => array ( 0 => 'fdf', ), 'application/vnd.flographit' => array ( 0 => 'gph', ), 'application/vnd.fluxtime.clip' => array ( 0 => 'ftc', ), 'application/vnd.framemaker' => array ( 0 => 'fm', 1 => 'frame', 2 => 'maker', ), 'application/vnd.frogans.fnc' => array ( 0 => 'fnc', ), 'application/vnd.frogans.ltf' => array ( 0 => 'ltf', ), 'application/vnd.fsc.weblaunch' => array ( 0 => 'fsc', ), 'application/vnd.fujitsu.oasys' => array ( 0 => 'oas', ), 'application/vnd.fujitsu.oasys2' => array ( 0 => 'oa2', ), 'application/vnd.fujitsu.oasys3' => array ( 0 => 'oa3', ), 'application/vnd.fujitsu.oasysgp' => array ( 0 => 'fg5', ), 'application/vnd.fujitsu.oasysprs' => array ( 0 => 'bh2', ), 'application/vnd.fujixerox.ddd' => array ( 0 => 'ddd', ), 'application/vnd.fujixerox.docuworks' => array ( 0 => 'xdw', ), 'application/vnd.fujixerox.docuworks.binder' => array ( 0 => 'xbd', ), 'application/vnd.fuzzysheet' => array ( 0 => 'fzs', ), 'application/vnd.genomatix.tuxedo' => array ( 0 => 'txd', ), 'application/vnd.gmx' => array ( 0 => 'gmx', ), 'application/vnd.google-earth.kml+xml' => array ( 0 => 'kml', ), 'application/vnd.google-earth.kmz' => array ( 0 => 'kmz', ), 'application/vnd.grafeq' => array ( 0 => 'gqf', 1 => 'gqs', ), 'application/vnd.groove-account' => array ( 0 => 'gac', ), 'application/vnd.groove-help' => array ( 0 => 'ghf', ), 'application/vnd.groove-identity-message' => array ( 0 => 'gim', ), 'application/vnd.groove-injector' => array ( 0 => 'grv', ), 'application/vnd.groove-tool-message' => array ( 0 => 'gtm', ), 'application/vnd.groove-tool-template' => array ( 0 => 'tpl', ), 'application/vnd.groove-vcard' => array ( 0 => 'vcg', ), 'application/vnd.handheld-entertainment+xml' => array ( 0 => 'zmm', ), 'application/vnd.hbci' => array ( 0 => 'hbci', ), 'application/vnd.hhe.lesson-player' => array ( 0 => 'les', ), 'application/vnd.hp-hpgl' => array ( 0 => 'hpgl', ), 'application/vnd.hp-hpid' => array ( 0 => 'hpid', ), 'application/vnd.hp-hps' => array ( 0 => 'hps', ), 'application/vnd.hp-jlyt' => array ( 0 => 'jlt', ), 'application/vnd.hp-pcl' => array ( 0 => 'pcl', ), 'application/vnd.hp-pclxl' => array ( 0 => 'pclxl', ), 'application/vnd.hydrostatix.sof-data' => array ( 0 => 'sfd-hdstx', ), 'application/vnd.hzn-3d-crossword' => array ( 0 => 'x3d', ), 'application/vnd.ibm.minipay' => array ( 0 => 'mpy', ), 'application/vnd.ibm.modcap' => array ( 0 => 'afp', 1 => 'listafp', 2 => 'list3820', ), 'application/vnd.ibm.rights-management' => array ( 0 => 'irm', ), 'application/vnd.ibm.secure-container' => array ( 0 => 'sc', ), 'application/vnd.iccprofile' => array ( 0 => 'icc', 1 => 'icm', ), 'application/vnd.igloader' => array ( 0 => 'igl', ), 'application/vnd.immervision-ivp' => array ( 0 => 'ivp', ), 'application/vnd.immervision-ivu' => array ( 0 => 'ivu', ), 'application/vnd.intercon.formnet' => array ( 0 => 'xpw', 1 => 'xpx', ), 'application/vnd.intu.qbo' => array ( 0 => 'qbo', ), 'application/vnd.intu.qfx' => array ( 0 => 'qfx', ), 'application/vnd.ipunplugged.rcprofile' => array ( 0 => 'rcprofile', ), 'application/vnd.irepository.package+xml' => array ( 0 => 'irp', ), 'application/vnd.is-xpr' => array ( 0 => 'xpr', ), 'application/vnd.jam' => array ( 0 => 'jam', ), 'application/vnd.jcp.javame.midlet-rms' => array ( 0 => 'rms', ), 'application/vnd.jisp' => array ( 0 => 'jisp', ), 'application/vnd.joost.joda-archive' => array ( 0 => 'joda', ), 'application/vnd.kahootz' => array ( 0 => 'ktz', 1 => 'ktr', ), 'application/vnd.kde.karbon' => array ( 0 => 'karbon', ), 'application/vnd.kde.kchart' => array ( 0 => 'chrt', ), 'application/vnd.kde.kformula' => array ( 0 => 'kfo', ), 'application/vnd.kde.kivio' => array ( 0 => 'flw', ), 'application/vnd.kde.kontour' => array ( 0 => 'kon', ), 'application/vnd.kde.kpresenter' => array ( 0 => 'kpr', 1 => 'kpt', ), 'application/vnd.kde.kspread' => array ( 0 => 'ksp', ), 'application/vnd.kde.kword' => array ( 0 => 'kwd', 1 => 'kwt', ), 'application/vnd.kenameaapp' => array ( 0 => 'htke', ), 'application/vnd.kidspiration' => array ( 0 => 'kia', ), 'application/vnd.kinar' => array ( 0 => 'kne', 1 => 'knp', ), 'application/vnd.koan' => array ( 0 => 'skp', 1 => 'skd', 2 => 'skt', 3 => 'skm', ), 'application/vnd.kodak-descriptor' => array ( 0 => 'sse', ), 'application/vnd.llamagraphics.life-balance.desktop' => array ( 0 => 'lbd', ), 'application/vnd.llamagraphics.life-balance.exchange+xml' => array ( 0 => 'lbe', ), 'application/vnd.lotus-1-2-3' => array ( 0 => 123, ), 'application/vnd.lotus-approach' => array ( 0 => 'apr', ), 'application/vnd.lotus-freelance' => array ( 0 => 'pre', ), 'application/vnd.lotus-notes' => array ( 0 => 'nsf', ), 'application/vnd.lotus-organizer' => array ( 0 => 'org', ), 'application/vnd.lotus-screencam' => array ( 0 => 'scm', ), 'application/vnd.lotus-wordpro' => array ( 0 => 'lwp', ), 'application/vnd.macports.portpkg' => array ( 0 => 'portpkg', ), 'application/vnd.mcd' => array ( 0 => 'mcd', ), 'application/vnd.medcalcdata' => array ( 0 => 'mc1', ), 'application/vnd.mediastation.cdkey' => array ( 0 => 'cdkey', ), 'application/vnd.mfer' => array ( 0 => 'mwf', ), 'application/vnd.mfmp' => array ( 0 => 'mfm', ), 'application/vnd.micrografx.flo' => array ( 0 => 'flo', ), 'application/vnd.micrografx.igx' => array ( 0 => 'igx', ), 'application/vnd.mif' => array ( 0 => 'mif', ), 'application/vnd.mobius.daf' => array ( 0 => 'daf', ), 'application/vnd.mobius.dis' => array ( 0 => 'dis', ), 'application/vnd.mobius.mbk' => array ( 0 => 'mbk', ), 'application/vnd.mobius.mqy' => array ( 0 => 'mqy', ), 'application/vnd.mobius.msl' => array ( 0 => 'msl', ), 'application/vnd.mobius.plc' => array ( 0 => 'plc', ), 'application/vnd.mobius.txf' => array ( 0 => 'txf', ), 'application/vnd.mophun.application' => array ( 0 => 'mpn', ), 'application/vnd.mophun.certificate' => array ( 0 => 'mpc', ), 'application/vnd.mozilla.xul+xml' => array ( 0 => 'xul', ), 'application/vnd.ms-artgalry' => array ( 0 => 'cil', ), 'video/x-ms-asf' => array ( 0 => 'asf', 1 => 'asx', ), 'application/vnd.ms-cab-compressed' => array ( 0 => 'cab', ), 'application/vnd.ms-excel' => array ( 0 => 'xls', 1 => 'xlm', 2 => 'xla', 3 => 'xlc', 4 => 'xlt', 5 => 'xlw', ), 'application/vnd.ms-fontobject' => array ( 0 => 'eot', ), 'application/vnd.ms-htmlhelp' => array ( 0 => 'chm', ), 'application/vnd.ms-ims' => array ( 0 => 'ims', ), 'application/vnd.ms-lrm' => array ( 0 => 'lrm', ), 'application/vnd.ms-powerpoint' => array ( 0 => 'ppt', 1 => 'pps', 2 => 'pot', ), 'application/vnd.ms-project' => array ( 0 => 'mpp', 1 => 'mpt', ), 'application/vnd.ms-works' => array ( 0 => 'wps', 1 => 'wks', 2 => 'wcm', 3 => 'wdb', ), 'application/vnd.ms-wpl' => array ( 0 => 'wpl', ), 'application/vnd.ms-xpsdocument' => array ( 0 => 'xps', ), 'application/vnd.mseq' => array ( 0 => 'mseq', ), 'application/vnd.musician' => array ( 0 => 'mus', ), 'application/vnd.muvee.style' => array ( 0 => 'msty', ), 'application/vnd.neurolanguage.nlu' => array ( 0 => 'nlu', ), 'application/vnd.noblenet-directory' => array ( 0 => 'nnd', ), 'application/vnd.noblenet-sealer' => array ( 0 => 'nns', ), 'application/vnd.noblenet-web' => array ( 0 => 'nnw', ), 'application/vnd.nokia.n-gage.data' => array ( 0 => 'ngdat', ), 'application/vnd.nokia.n-gage.symbian.install' => array ( 0 => 'n-gage', ), 'application/vnd.nokia.radio-preset' => array ( 0 => 'rpst', ), 'application/vnd.nokia.radio-presets' => array ( 0 => 'rpss', ), 'application/vnd.novadigm.edm' => array ( 0 => 'edm', ), 'application/vnd.novadigm.edx' => array ( 0 => 'edx', ), 'application/vnd.novadigm.ext' => array ( 0 => 'ext', ), 'application/vnd.oasis.opendocument.chart' => array ( 0 => 'odc', ), 'application/vnd.oasis.opendocument.chart-template' => array ( 0 => 'otc', ), 'application/vnd.oasis.opendocument.formula' => array ( 0 => 'odf', ), 'application/vnd.oasis.opendocument.formula-template' => array ( 0 => 'otf', ), 'application/vnd.oasis.opendocument.graphics' => array ( 0 => 'odg', ), 'application/vnd.oasis.opendocument.graphics-template' => array ( 0 => 'otg', ), 'application/vnd.oasis.opendocument.image' => array ( 0 => 'odi', ), 'application/vnd.oasis.opendocument.image-template' => array ( 0 => 'oti', ), 'application/vnd.oasis.opendocument.presentation' => array ( 0 => 'odp', ), 'application/vnd.oasis.opendocument.presentation-template' => array ( 0 => 'otp', ), 'application/vnd.oasis.opendocument.spreadsheet' => array ( 0 => 'ods', ), 'application/vnd.oasis.opendocument.spreadsheet-template' => array ( 0 => 'ots', ), 'application/vnd.oasis.opendocument.text' => array ( 0 => 'odt', ), 'application/vnd.oasis.opendocument.text-master' => array ( 0 => 'otm', ), 'application/vnd.oasis.opendocument.text-template' => array ( 0 => 'ott', ), 'application/vnd.oasis.opendocument.text-web' => array ( 0 => 'oth', ), 'application/vnd.olpc-sugar' => array ( 0 => 'xo', ), 'application/vnd.oma.dd2+xml' => array ( 0 => 'dd2', ), 'application/vnd.openofficeorg.extension' => array ( 0 => 'oxt', ), 'application/vnd.osgi.dp' => array ( 0 => 'dp', ), 'application/vnd.palm' => array ( 0 => 'prc', 1 => 'pqa', 2 => 'oprc', ), 'chemical/x-pdb' => array ( 0 => 'pdb', ), 'application/vnd.pg.format' => array ( 0 => 'str', ), 'application/vnd.pg.osasli' => array ( 0 => 'ei6', ), 'application/vnd.picsel' => array ( 0 => 'efif', ), 'application/vnd.pocketlearn' => array ( 0 => 'plf', ), 'application/vnd.powerbuilder6' => array ( 0 => 'pbd', ), 'application/vnd.previewsystems.box' => array ( 0 => 'box', ), 'application/vnd.proteus.magazine' => array ( 0 => 'mgz', ), 'application/vnd.publishare-delta-tree' => array ( 0 => 'qps', ), 'application/vnd.pvi.ptid1' => array ( 0 => 'ptid', ), 'application/vnd.quark.quarkxpress' => array ( 0 => 'qxd', 1 => 'qxt', 2 => 'qwd', 3 => 'qwt', 4 => 'qxl', 5 => 'qxb', ), 'application/vnd.recordare.musicxml' => array ( 0 => 'mxl', ), 'application/vnd.rn-realmedia' => array ( 0 => 'rm', ), 'application/vnd.route66.link66+xml' => array ( 0 => 'link66', ), 'application/vnd.seemail' => array ( 0 => 'see', ), 'application/vnd.sema' => array ( 0 => 'sema', ), 'application/vnd.semd' => array ( 0 => 'semd', ), 'application/vnd.semf' => array ( 0 => 'semf', ), 'application/vnd.shana.informed.formdata' => array ( 0 => 'ifm', ), 'application/vnd.shana.informed.formtemplate' => array ( 0 => 'itp', ), 'application/vnd.shana.informed.interchange' => array ( 0 => 'iif', ), 'application/vnd.shana.informed.package' => array ( 0 => 'ipk', ), 'application/vnd.simtech-mindmapper' => array ( 0 => 'twd', 1 => 'twds', ), 'application/vnd.smaf' => array ( 0 => 'mmf', ), 'application/vnd.solent.sdkm+xml' => array ( 0 => 'sdkm', 1 => 'sdkd', ), 'application/vnd.spotfire.dxp' => array ( 0 => 'dxp', ), 'application/vnd.spotfire.sfs' => array ( 0 => 'sfs', ), 'application/vnd.sus-calendar' => array ( 0 => 'sus', 1 => 'susp', ), 'application/vnd.svd' => array ( 0 => 'svd', ), 'application/vnd.syncml+xml' => array ( 0 => 'xsm', ), 'application/vnd.syncml.dm+wbxml' => array ( 0 => 'bdm', ), 'application/vnd.syncml.dm+xml' => array ( 0 => 'xdm', ), 'application/vnd.tao.intent-module-archive' => array ( 0 => 'tao', ), 'application/vnd.tmobile-livetv' => array ( 0 => 'tmo', ), 'application/vnd.trid.tpt' => array ( 0 => 'tpt', ), 'application/vnd.triscape.mxs' => array ( 0 => 'mxs', ), 'application/vnd.trueapp' => array ( 0 => 'tra', ), 'application/vnd.ufdl' => array ( 0 => 'ufd', 1 => 'ufdl', ), 'application/vnd.uiq.theme' => array ( 0 => 'utz', ), 'application/vnd.umajin' => array ( 0 => 'umj', ), 'application/vnd.unity' => array ( 0 => 'unityweb', ), 'application/vnd.uoml+xml' => array ( 0 => 'uoml', ), 'application/vnd.vcx' => array ( 0 => 'vcx', ), 'application/vnd.visio' => array ( 0 => 'vsd', 1 => 'vst', 2 => 'vss', 3 => 'vsw', ), 'application/vnd.visionary' => array ( 0 => 'vis', ), 'application/vnd.vsf' => array ( 0 => 'vsf', ), 'application/vnd.wap.wbxml' => array ( 0 => 'wbxml', ), 'application/vnd.wap.wmlc' => array ( 0 => 'wmlc', ), 'application/vnd.wap.wmlscriptc' => array ( 0 => 'wmlsc', ), 'application/vnd.webturbo' => array ( 0 => 'wtb', ), 'application/vnd.wordperfect' => array ( 0 => 'wpd', ), 'application/vnd.wqd' => array ( 0 => 'wqd', ), 'application/vnd.wt.stf' => array ( 0 => 'stf', ), 'application/vnd.xara' => array ( 0 => 'xar', ), 'application/vnd.xfdl' => array ( 0 => 'xfdl', ), 'application/vnd.yamaha.hv-dic' => array ( 0 => 'hvd', ), 'application/vnd.yamaha.hv-script' => array ( 0 => 'hvs', ), 'application/vnd.yamaha.hv-voice' => array ( 0 => 'hvp', ), 'application/vnd.yamaha.smaf-audio' => array ( 0 => 'saf', ), 'application/vnd.yamaha.smaf-phrase' => array ( 0 => 'spf', ), 'application/vnd.yellowriver-custom-menu' => array ( 0 => 'cmp', ), 'application/vnd.zzazz.deck+xml' => array ( 0 => 'zaz', ), 'application/voicexml+xml' => array ( 0 => 'vxml', ), 'application/winhlp' => array ( 0 => 'hlp', ), 'application/wsdl+xml' => array ( 0 => 'wsdl', ), 'application/wspolicy+xml' => array ( 0 => 'wspolicy', ), 'application/x-ace-compressed' => array ( 0 => 'ace', ), 'application/x-bcpio' => array ( 0 => 'bcpio', ), 'application/x-bittorrent' => array ( 0 => 'torrent', ), 'application/x-bzip' => array ( 0 => 'bz', ), 'application/x-bzip2' => array ( 0 => 'bz2', 1 => 'boz', ), 'application/x-cdlink' => array ( 0 => 'vcd', ), 'application/x-chat' => array ( 0 => 'chat', ), 'application/x-chess-pgn' => array ( 0 => 'pgn', ), 'application/x-cpio' => array ( 0 => 'cpio', ), 'application/x-csh' => array ( 0 => 'csh', ), 'application/x-director' => array ( 0 => 'dcr', 1 => 'dir', 2 => 'dxr', 3 => 'fgd', ), 'application/x-dvi' => array ( 0 => 'dvi', ), 'application/x-futuresplash' => array ( 0 => 'spl', ), 'application/x-gtar' => array ( 0 => 'gtar', ), 'application/x-hdf' => array ( 0 => 'hdf', ), 'application/x-latex' => array ( 0 => 'latex', ), 'application/x-ms-wmd' => array ( 0 => 'wmd', ), 'application/x-ms-wmz' => array ( 0 => 'wmz', ), 'application/x-msaccess' => array ( 0 => 'mdb', ), 'application/x-msbinder' => array ( 0 => 'obd', ), 'application/x-mscardfile' => array ( 0 => 'crd', ), 'application/x-msclip' => array ( 0 => 'clp', ), 'application/x-msdownload' => array ( 0 => 'exe', 1 => 'dll', 2 => 'com', 3 => 'bat', 4 => 'msi', ), 'application/x-msmediaview' => array ( 0 => 'mvb', 1 => 'm13', 2 => 'm14', ), 'application/x-msmetafile' => array ( 0 => 'wmf', ), 'application/x-msmoney' => array ( 0 => 'mny', ), 'application/x-mspublisher' => array ( 0 => 'pub', ), 'application/x-msschedule' => array ( 0 => 'scd', ), 'application/x-msterminal' => array ( 0 => 'trm', ), 'application/x-mswrite' => array ( 0 => 'wri', ), 'application/x-netcdf' => array ( 0 => 'nc', 1 => 'cdf', ), 'application/x-pkcs12' => array ( 0 => 'p12', 1 => 'pfx', ), 'application/x-pkcs7-certificates' => array ( 0 => 'p7b', 1 => 'spc', ), 'application/x-pkcs7-certreqresp' => array ( 0 => 'p7r', ), 'application/x-rar-compressed' => array ( 0 => 'rar', ), 'application/x-sh' => array ( 0 => 'sh', ), 'application/x-shar' => array ( 0 => 'shar', ), 'application/x-shockwave-flash' => array ( 0 => 'swf', ), 'application/x-stuffit' => array ( 0 => 'sit', ), 'application/x-stuffitx' => array ( 0 => 'sitx', ), 'application/x-sv4cpio' => array ( 0 => 'sv4cpio', ), 'application/x-sv4crc' => array ( 0 => 'sv4crc', ), 'application/x-tar' => array ( 0 => 'tar', ), 'application/x-tcl' => array ( 0 => 'tcl', ), 'application/x-tex' => array ( 0 => 'tex', ), 'application/x-texinfo' => array ( 0 => 'texinfo', 1 => 'texi', ), 'application/x-ustar' => array ( 0 => 'ustar', ), 'application/x-wais-source' => array ( 0 => 'src', ), 'application/x-x509-ca-cert' => array ( 0 => 'der', 1 => 'crt', ), 'application/xenc+xml' => array ( 0 => 'xenc', ), 'application/xhtml+xml' => array ( 0 => 'xhtml', 1 => 'xht', ), 'application/xml' => array ( 0 => 'xml', 1 => 'xsl', ), 'application/xml-dtd' => array ( 0 => 'dtd', ), 'application/xop+xml' => array ( 0 => 'xop', ), 'application/xslt+xml' => array ( 0 => 'xslt', ), 'application/xspf+xml' => array ( 0 => 'xspf', ), 'application/xv+xml' => array ( 0 => 'mxml', 1 => 'xhvml', 2 => 'xvml', 3 => 'xvm', ), 'application/zip' => array ( 0 => 'zip', ), 'audio/basic' => array ( 0 => 'au', 1 => 'snd', ), 'audio/midi' => array ( 0 => 'mid', 1 => 'midi', 2 => 'kar', 3 => 'rmi', ), 'audio/mp4' => array ( 0 => 'mp4a', ), 'audio/mpeg' => array ( 0 => 'mpga', 1 => 'mp2', 2 => 'mp2a', 3 => 'mp3', 4 => 'm2a', 5 => 'm3a', ), 'audio/ogg' => array ( 0 => 'oga', 1 => 'ogg', 2 => 'spx', ), 'audio/vnd.digital-winds' => array ( 0 => 'eol', ), 'audio/vnd.dts' => array ( 0 => 'dts', ), 'audio/vnd.dts.hd' => array ( 0 => 'dtshd', ), 'audio/vnd.lucent.voice' => array ( 0 => 'lvp', ), 'audio/vnd.ms-playready.media.pya' => array ( 0 => 'pya', ), 'audio/vnd.nuera.ecelp4800' => array ( 0 => 'ecelp4800', ), 'audio/vnd.nuera.ecelp7470' => array ( 0 => 'ecelp7470', ), 'audio/vnd.nuera.ecelp9600' => array ( 0 => 'ecelp9600', ), 'audio/x-wav' => array ( 0 => 'wav', ), 'audio/x-aiff' => array ( 0 => 'aif', 1 => 'aiff', 2 => 'aifc', ), 'audio/x-mpegurl' => array ( 0 => 'm3u', ), 'audio/x-ms-wax' => array ( 0 => 'wax', ), 'audio/x-ms-wma' => array ( 0 => 'wma', ), 'audio/x-pn-realaudio' => array ( 0 => 'ram', 1 => 'ra', ), 'audio/x-pn-realaudio-plugin' => array ( 0 => 'rmp', ), 'chemical/x-cdx' => array ( 0 => 'cdx', ), 'chemical/x-cif' => array ( 0 => 'cif', ), 'chemical/x-cmdf' => array ( 0 => 'cmdf', ), 'chemical/x-cml' => array ( 0 => 'cml', ), 'chemical/x-csml' => array ( 0 => 'csml', ), 'chemical/x-xyz' => array ( 0 => 'xyz', ), 'image/bmp' => array ( 0 => 'bmp', ), 'image/cgm' => array ( 0 => 'cgm', ), 'image/g3fax' => array ( 0 => 'g3', ), 'image/gif' => array ( 0 => 'gif', ), 'image/ief' => array ( 0 => 'ief', ), 'image/jpeg' => array ( 0 => 'jpeg', 1 => 'jpg', 2 => 'jpe', ), 'image/png' => array ( 0 => 'png', ), 'image/prs.btif' => array ( 0 => 'btif', ), 'image/svg+xml' => array ( 0 => 'svg', 1 => 'svgz', ), 'image/tiff' => array ( 0 => 'tiff', 1 => 'tif', ), 'image/vnd.adobe.photoshop' => array ( 0 => 'psd', ), 'image/vnd.djvu' => array ( 0 => 'djvu', 1 => 'djv', ), 'image/vnd.dwg' => array ( 0 => 'dwg', ), 'image/vnd.dxf' => array ( 0 => 'dxf', ), 'image/vnd.fastbidsheet' => array ( 0 => 'fbs', ), 'image/vnd.fpx' => array ( 0 => 'fpx', ), 'image/vnd.fst' => array ( 0 => 'fst', ), 'image/vnd.fujixerox.edmics-mmr' => array ( 0 => 'mmr', ), 'image/vnd.fujixerox.edmics-rlc' => array ( 0 => 'rlc', ), 'image/vnd.ms-modi' => array ( 0 => 'mdi', ), 'image/vnd.net-fpx' => array ( 0 => 'npx', ), 'image/vnd.wap.wbmp' => array ( 0 => 'wbmp', ), 'image/vnd.xiff' => array ( 0 => 'xif', ), 'image/x-cmu-raster' => array ( 0 => 'ras', ), 'image/x-cmx' => array ( 0 => 'cmx', ), 'image/x-icon' => array ( 0 => 'ico', ), 'image/x-pcx' => array ( 0 => 'pcx', ), 'image/x-pict' => array ( 0 => 'pic', 1 => 'pct', ), 'image/x-portable-anymap' => array ( 0 => 'pnm', ), 'image/x-portable-bitmap' => array ( 0 => 'pbm', ), 'image/x-portable-graymap' => array ( 0 => 'pgm', ), 'image/x-portable-pixmap' => array ( 0 => 'ppm', ), 'image/x-rgb' => array ( 0 => 'rgb', ), 'image/x-xbitmap' => array ( 0 => 'xbm', ), 'image/x-xpixmap' => array ( 0 => 'xpm', ), 'image/x-xwindowdump' => array ( 0 => 'xwd', ), 'message/rfc822' => array ( 0 => 'eml', 1 => 'mime', ), 'model/iges' => array ( 0 => 'igs', 1 => 'iges', ), 'model/mesh' => array ( 0 => 'msh', 1 => 'mesh', 2 => 'silo', ), 'model/vnd.dwf' => array ( 0 => 'dwf', ), 'model/vnd.gdl' => array ( 0 => 'gdl', ), 'model/vnd.gtw' => array ( 0 => 'gtw', ), 'model/vnd.mts' => array ( 0 => 'mts', ), 'model/vnd.vtu' => array ( 0 => 'vtu', ), 'model/vrml' => array ( 0 => 'wrl', 1 => 'vrml', ), 'text/calendar' => array ( 0 => 'ics', 1 => 'ifb', ), 'text/css' => array ( 0 => 'css', ), 'text/csv' => array ( 0 => 'csv', ), 'text/html' => array ( 0 => 'html', 1 => 'htm', ), 'text/plain' => array ( 0 => 'txt', 1 => 'text', 2 => 'conf', 3 => 'def', 4 => 'list', 5 => 'log', 6 => 'in', ), 'text/prs.lines.tag' => array ( 0 => 'dsc', ), 'text/richtext' => array ( 0 => 'rtx', ), 'text/sgml' => array ( 0 => 'sgml', 1 => 'sgm', ), 'text/tab-separated-values' => array ( 0 => 'tsv', ), 'text/troff' => array ( 0 => 't', 1 => 'tr', 2 => 'roff', 3 => 'man', 4 => 'me', 5 => 'ms', ), 'text/uri-list' => array ( 0 => 'uri', 1 => 'uris', 2 => 'urls', ), 'text/vnd.fly' => array ( 0 => 'fly', ), 'text/vnd.fmi.flexstor' => array ( 0 => 'flx', ), 'text/vnd.graphviz' => array ( 0 => 'gv', ), 'text/vnd.in3d.3dml' => array ( 0 => '3dml', ), 'text/vnd.in3d.spot' => array ( 0 => 'spot', ), 'text/vnd.sun.j2me.app-descriptor' => array ( 0 => 'jad', ), 'text/vnd.wap.wml' => array ( 0 => 'wml', ), 'text/vnd.wap.wmlscript' => array ( 0 => 'wmls', ), 'text/x-asm' => array ( 0 => 's', 1 => 'asm', ), 'text/x-c' => array ( 0 => 'c', 1 => 'cc', 2 => 'cxx', 3 => 'cpp', 4 => 'h', 5 => 'hh', 6 => 'dic', ), 'text/x-fortran' => array ( 0 => 'f', 1 => 'for', 2 => 'f77', 3 => 'f90', ), 'text/x-pascal' => array ( 0 => 'p', 1 => 'pas', ), 'text/x-java-source' => array ( 0 => 'java', ), 'text/x-setext' => array ( 0 => 'etx', ), 'text/x-uuencode' => array ( 0 => 'uu', ), 'text/x-vcalendar' => array ( 0 => 'vcs', ), 'text/x-vcard' => array ( 0 => 'vcf', ), 'video/3gpp' => array ( 0 => '3gp', ), 'video/3gpp2' => array ( 0 => '3g2', ), 'video/h261' => array ( 0 => 'h261', ), 'video/h263' => array ( 0 => 'h263', ), 'video/h264' => array ( 0 => 'h264', ), 'video/jpeg' => array ( 0 => 'jpgv', ), 'video/jpm' => array ( 0 => 'jpm', 1 => 'jpgm', ), 'video/mj2' => array ( 0 => 'mj2', 1 => 'mjp2', ), 'video/mp4' => array ( 0 => 'mp4', 1 => 'mp4v', 2 => 'mpg4', ), 'video/mpeg' => array ( 0 => 'mpeg', 1 => 'mpg', 2 => 'mpe', 3 => 'm1v', 4 => 'm2v', ), 'video/ogg' => array ( 0 => 'ogv', ), 'video/quicktime' => array ( 0 => 'qt', 1 => 'mov', ), 'video/vnd.fvt' => array ( 0 => 'fvt', ), 'video/vnd.mpegurl' => array ( 0 => 'mxu', 1 => 'm4u', ), 'video/vnd.ms-playready.media.pyv' => array ( 0 => 'pyv', ), 'video/vnd.vivo' => array ( 0 => 'viv', ), 'video/x-fli' => array ( 0 => 'fli', ), 'video/x-ms-wm' => array ( 0 => 'wm', ), 'video/x-ms-wmv' => array ( 0 => 'wmv', ), 'video/x-ms-wmx' => array ( 0 => 'wmx', ), 'video/x-ms-wvx' => array ( 0 => 'wvx', ), 'video/x-msvideo' => array ( 0 => 'avi', ), 'video/x-sgi-movie' => array ( 0 => 'movie', ), 'x-conference/x-cooltalk' => array ( 0 => 'ice', ), );
/*
* Gets the mime type the given extension maps to
*/
public function getMimeTypes($extension)
{
if (!array_key_exists($extension, $this->extension_to_mime_types)) {
return false;
}
return $this->extension_to_mime_types[$extension];
}
/*
* Gets the extension the given mime type maps to
*/
public function getExtensions($mime_type)
{
if (!array_key_exists($mime_type, $this->mime_type_to_extensions)) {
return false;
}
return $this->mime_type_to_extensions[$mime_type];
}
/*
* Sets the given extension, so that it maps to the given mime type(s)
*/
public function addExtensionToMimeType($extension, $mime_type)
{
if (is_array($mime_type)) {
$this->extension_to_mime_types[$extension] = $mime_type;
} else {
$this->extension_to_mime_types[$extension] = array($mime_type);
}
return true;
}
/*
* Sets the given mime type, so that it maps to the given extension(s)
*/
public function addMimeTypeToExtension($mime_type, $extension)
{
if (is_array($extension)) {
$this->mime_type_to_extensions[$mime_type] = $extension;
} else {
$this->mime_type_to_extensions[$mime_type] = array($extension);
}
return true;
}
/*
* Maps a extension to an additional given mime type
*/
public function MapMimeTypeToExtension($extension, $mime_type)
{
if (!isset($this->extension_to_mime_types[$extension])) {
$this->extension_to_mime_types[$extension] = array($mime_type);
} else {
$this->extension_to_mime_types[$extension][] = $mime_stype;
}
return true;
}
/*
* Maps a mime_type to an additional given extension
*/
public function MapExtensionToMimeType($mime_type, $extension)
{
if (!isset($this->mime_type_to_extensions[$mime_type])) {
$this->mime_type_to_extensions[$mime_type] = array($extension);
} else {
$this->mime_type_to_extensions[$mime_type][] = $extension;
}
return true;
}
/*
* Gets the private mapping of extensions to mime types
*/
public function getExtensionToMimeTypes()
{
return $this->extension_to_mime_types;
}
/*
* Gets the private mapping of mime types to extensions
*/
public function getMimeTypeToExtensions()
{
return $this->mime_type_to_extensions;
}
}