From 63a2da08dc3377f38db7e8f3ae147c671fa67496 Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 29 Jan 2005 04:41:16 +0000 Subject: [PATCH] FIx the XML mimetypes --- files/mimetypes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/mimetypes.php b/files/mimetypes.php index 60a5bc7119a..996507a700f 100644 --- a/files/mimetypes.php +++ b/files/mimetypes.php @@ -73,8 +73,8 @@ function mimeinfo($element, $filename) { "wmv" => array ("type"=>"video/x-ms-wmv", "icon"=>"avi.gif"), "asf" => array ("type"=>"video/x-ms-asf", "icon"=>"avi.gif"), "xls" => array ("type"=>"application/vnd.ms-excel", "icon"=>"excel.gif"), - "xml" => array ("type"=>"text/xml", "icon"=>"xml.gif"), - "xsl" => array ("type"=>"text/xml", "icon"=>"xml.gif"), + "xml" => array ("type"=>"application/xml", "icon"=>"xml.gif"), + "xsl" => array ("type"=>"application/xml", "icon"=>"xml.gif"), "zip" => array ("type"=>"application/zip", "icon"=>"zip.gif") );