"moving txt above all other text plain types, to get text/plain displayed as \"TXT file\""

This commit is contained in:
Ralf Becker 2009-08-10 17:00:44 +00:00
parent 281502f36f
commit c9e2127325

View File

@ -235,7 +235,8 @@ class mime_magic
'bcpio' => 'application/x-bcpio',
'bin' => 'application/octet-stream',
'bmp' => 'image/bmp',
'c' => 'text/plain', // or 'text/x-csrc', //added by skwashd
'txt' => 'text/plain', // ralfbecker: moving txt above all other text plain types, to get text/plain displayed as "TXT file"
'c' => 'text/plain', // or 'text/x-csrc', //added by skwashd
'c++' => 'text/plain', // or 'text/x-c++src', //added by skwashd
'cc' => 'text/plain', // or 'text/x-c++src', //added by skwashd
'cs' => 'text/plain', //added by skwashd - for C# src
@ -386,7 +387,6 @@ class mime_magic
'tiff' => 'image/tiff',
'tr' => 'application/x-troff',
'tsv' => 'text/tab-separated-values',
'txt' => 'text/plain',
'ustar' => 'application/x-ustar',
'vbs' => 'text/plain', //added by skwashd - for obvious reasons
'vcd' => 'application/x-cdlink',