Fredrik Jervfors преди 21 години
родител
ревизия
3dcfb0d948
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      functions/attachment_common.php

+ 1 - 0
functions/attachment_common.php

@@ -31,6 +31,7 @@ $FileExtensionToMimeType = array('bmp'  => 'image/x-bitmap',
                                  'png'  => 'image/png',
                                  'png'  => 'image/png',
                                  'rtf'  => 'text/richtext',
                                  'rtf'  => 'text/richtext',
                                  'txt'  => 'text/plain',
                                  'txt'  => 'text/plain',
+                                 'patch'=> 'text/plain',
                                  'vcf'  => 'text/x-vcard');
                                  'vcf'  => 'text/x-vcard');
 
 
 /* Register browser-supported image types */
 /* Register browser-supported image types */