Update core/util.inc.php

This commit is contained in:
velocity37 2012-09-23 14:15:54 -07:00 committed by Shish
parent fcdf784acc
commit 1bd6f9f0ba

View file

@ -545,7 +545,7 @@ function getMimeType($file, $ext="") {
'xml' => 'text/xml', 'xsl' => 'application/xsl+xml',
'ogg' => 'application/ogg', 'mp3' => 'audio/mpeg', 'wav' => 'audio/x-wav',
'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'
);
return isset($exts[$ext]) ? $exts[$ext] : 'application/octet-stream';