291 'xsl' => 'text/xml', |
291 'xsl' => 'text/xml', |
292 'xslt' => 'text/xml', |
292 'xslt' => 'text/xml', |
293 'xwd' => 'image/x-xwindowdump', |
293 'xwd' => 'image/x-xwindowdump', |
294 'xyz' => 'chemical/x-xyz', |
294 'xyz' => 'chemical/x-xyz', |
295 'zip' => 'application/zip', |
295 'zip' => 'application/zip', |
|
296 'odt' => 'application/vnd.oasis.opendocument.text', |
|
297 'ott' => 'application/vnd.oasis.opendocument.text-template', |
|
298 'odg' => 'application/vnd.oasis.opendocument.graphics', |
|
299 'otg' => 'application/vnd.oasis.opendocument.graphics-template', |
|
300 'odp' => 'application/vnd.oasis.opendocument.presentation', |
|
301 'otp' => 'application/vnd.oasis.opendocument.presentation-template', |
|
302 'ods' => 'application/vnd.oasis.opendocument.spreadsheet', |
|
303 'ots' => 'application/vnd.oasis.opendocument.spreadsheet-template', |
|
304 'odc' => 'application/vnd.oasis.opendocument.chart', |
|
305 'otc' => 'application/vnd.oasis.opendocument.chart-template', |
|
306 'odi' => 'application/vnd.oasis.opendocument.image', |
|
307 'oti' => 'application/vnd.oasis.opendocument.image-template', |
|
308 'odf' => 'application/vnd.oasis.opendocument.formula', |
|
309 'otf' => 'application/vnd.oasis.opendocument.formula-template', |
|
310 'odm' => 'application/vnd.oasis.opendocument.text-master', |
|
311 'oth' => 'application/vnd.oasis.opendocument.text-web' |
296 ); |
312 ); |
297 |
313 |
298 $mimetype_extlist = Array( |
314 $mimetype_extlist = Array( |
299 'application/andrew-inset'=>'ez', |
315 'application/andrew-inset'=>'ez', |
300 'application/mac-binhex40'=>'hqx', |
316 'application/mac-binhex40'=>'hqx', |
413 'video/x-ogg'=>'ogm ogg', |
429 'video/x-ogg'=>'ogm ogg', |
414 'video/x-sgi-movie'=>'movie', |
430 'video/x-sgi-movie'=>'movie', |
415 'x-conference/x-cooltalk'=>'ice', |
431 'x-conference/x-cooltalk'=>'ice', |
416 // Added for Enano |
432 // Added for Enano |
417 'image/xcf' => 'xcf xcfbz2 xcf.bz2', |
433 'image/xcf' => 'xcf xcfbz2 xcf.bz2', |
|
434 'application/vnd.oasis.opendocument.text' => 'odt', |
|
435 'application/vnd.oasis.opendocument.text-template' => 'ott', |
|
436 'application/vnd.oasis.opendocument.graphics' => 'odg', |
|
437 'application/vnd.oasis.opendocument.graphics-template' => 'otg', |
|
438 'application/vnd.oasis.opendocument.presentation' => 'odp', |
|
439 'application/vnd.oasis.opendocument.presentation-template' => 'otp', |
|
440 'application/vnd.oasis.opendocument.spreadsheet' => 'ods', |
|
441 'application/vnd.oasis.opendocument.spreadsheet-template' => 'ots', |
|
442 'application/vnd.oasis.opendocument.chart' => 'odc', |
|
443 'application/vnd.oasis.opendocument.chart-template' => 'otc', |
|
444 'application/vnd.oasis.opendocument.image' => 'odi', |
|
445 'application/vnd.oasis.opendocument.image-template' => 'oti', |
|
446 'application/vnd.oasis.opendocument.formula' => 'odf', |
|
447 'application/vnd.oasis.opendocument.formula-template' => 'otf', |
|
448 'application/vnd.oasis.opendocument.text-master' => 'odm', |
|
449 'application/vnd.oasis.opendocument.text-web' => 'oth' |
418 ); |
450 ); |
419 |
451 |
420 $k = array_keys($mime_types); |
452 $k = array_keys($mime_types); |
421 $mimetype_exps = Array(); |
453 $mimetype_exps = Array(); |
422 foreach($k as $s => $x) |
454 foreach($k as $s => $x) |