Pārlūkot izejas kodu

Unifying with STABLE

Fredrik Jervfors 21 gadi atpakaļ
vecāks
revīzija
3dcfb0d948
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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',
                                  'rtf'  => 'text/richtext',
                                  'txt'  => 'text/plain',
+                                 'patch'=> 'text/plain',
                                  'vcf'  => 'text/x-vcard');
 
 /* Register browser-supported image types */