Skip to content

Commit

Permalink
Change mimetype for xml files for better validation
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Jan 29, 2005
1 parent 80317ba commit abea38d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/mimetypes.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ 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"),
"xml" => array ("type"=>"application/xml", "icon"=>"xml.gif"),
"xsl" => array ("type"=>"text/xml", "icon"=>"xml.gif"),
"zip" => array ("type"=>"application/zip", "icon"=>"zip.gif")
);
Expand Down

0 comments on commit abea38d

Please sign in to comment.