From 70ee284143e6d7ed022a3aa0203871b75d69d3e1 Mon Sep 17 00:00:00 2001 From: skodak Date: Fri, 29 Dec 2006 20:57:48 +0000 Subject: [PATCH] MDL-8007 mimetype support for htc files, see http://support.microsoft.com/kb/306231 --- lib/filelib.php | 1 + 1 file changed, 1 insertion(+) 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'), -- 2.39.5