Permalink
Browse files

MDL-37395 Add .jar filetype so Moodle doesn't incorrectly call it a z…

…ip file
  • Loading branch information...
1 parent 10ad21d commit 52f37ef475811fef2f9f48c0d6210f234c8eaf6d @sammarshallou sammarshallou committed Jan 7, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/filelib.php
View
@@ -1425,6 +1425,7 @@ function &get_mimetypes_array() {
'isf' => array ('type'=>'application/inspiration', 'icon'=>'isf'),
'ist' => array ('type'=>'application/inspiration.template', 'icon'=>'isf'),
'java' => array ('type'=>'text/plain', 'icon'=>'sourcecode'),
+ 'jar' => array ('type'=>'application/java-archive', 'icon' => 'archive'),
'jcb' => array ('type'=>'text/xml', 'icon'=>'markup'),
'jcl' => array ('type'=>'text/xml', 'icon'=>'markup'),
'jcw' => array ('type'=>'text/xml', 'icon'=>'markup'),

0 comments on commit 52f37ef

Please sign in to comment.