From: skodak Date: Fri, 29 Dec 2006 20:57:48 +0000 (+0000) Subject: MDL-8007 mimetype support for htc files, see http://support.microsoft.com/kb/306231 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=70ee284143e6d7ed022a3aa0203871b75d69d3e1;p=moodle.git MDL-8007 mimetype support for htc files, see http://support.microsoft.com/kb/306231 --- diff --git a/lib/filelib.php b/lib/filelib.php index 641f2c762f..98754f95a5 100644 --- a/lib/filelib.php +++ b/lib/filelib.php @@ -43,6 +43,7 @@ function get_mimetypes_array() { 'h' => array ('type'=>'text/plain', 'icon'=>'text.gif'), 'hpp' => array ('type'=>'text/plain', 'icon'=>'text.gif'), 'hqx' => array ('type'=>'application/mac-binhex40', 'icon'=>'zip.gif'), + 'htc' => array ('type'=>'text/x-component', 'icon'=>'text.gif'), 'html' => array ('type'=>'text/html', 'icon'=>'html.gif'), 'htm' => array ('type'=>'text/html', 'icon'=>'html.gif'), 'java' => array ('type'=>'text/plain', 'icon'=>'text.gif'),