Skip to content
Browse files

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

…ip file
  • Loading branch information...
1 parent 9da506c commit aebe9db07fa672f8c1096ee662b05cf8e11c898a @sammarshallou sammarshallou committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/filelib.php
View
1 lib/filelib.php
@@ -1461,6 +1461,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 aebe9db

Please sign in to comment.
Something went wrong with that request. Please try again.