This commit is contained in:
velocity37 2012-09-23 14:21:06 -07:00 committed by Shish
parent 1bd6f9f0ba
commit 0663bf54a0

@ -545,7 +545,7 @@ function getMimeType($file, $ext="") {
'xml' => 'text/xml', 'xsl' => 'application/xsl+xml', 'xml' => 'text/xml', 'xsl' => 'application/xsl+xml',
'ogg' => 'application/ogg', 'mp3' => 'audio/mpeg', 'wav' => 'audio/x-wav', 'ogg' => 'application/ogg', 'mp3' => 'audio/mpeg', 'wav' => 'audio/x-wav',
'avi' => 'video/x-msvideo', 'mpg' => 'video/mpeg', 'mpeg' => 'video/mpeg', 'avi' => 'video/x-msvideo', 'mpg' => 'video/mpeg', 'mpeg' => 'video/mpeg',
'mov' => 'video/quicktime', 'flv' => 'video/x-flv', 'php' => 'text/x-php, 'mov' => 'video/quicktime', 'flv' => 'video/x-flv', 'php' => 'text/x-php',
'mp4' => 'video/mp4', 'ogv' => 'video/ogg', 'webm' => 'video/webm' 'mp4' => 'video/mp4', 'ogv' => 'video/ogg', 'webm' => 'video/webm'
); );
return isset($exts[$ext]) ? $exts[$ext] : 'application/octet-stream'; return isset($exts[$ext]) ? $exts[$ext] : 'application/octet-stream';