diff --git a/.gitattributes b/.gitattributes
index 313075f2aba839a78a012b44a59b07acd5c58238..08b594f00a9a7287080cfea9312a253b735ffbd7 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -41,6 +41,7 @@ IMG/icones/sxw-dist.png -text
 IMG/icones/tex-dist.png -text
 IMG/icones/tgz-dist.png -text
 IMG/icones/tif-dist.png -text
+IMG/icones/torrent-dist.png -text
 IMG/icones/txt-dist.png -text
 IMG/icones/wav-dist.png -text
 IMG/icones/xcf-dist.png -text
diff --git a/IMG/icones/torrent-dist.png b/IMG/icones/torrent-dist.png
new file mode 100644
index 0000000000000000000000000000000000000000..602f4697d86bd36fa5e86f86da19c7c0322a70c8
Binary files /dev/null and b/IMG/icones/torrent-dist.png differ
diff --git a/ecrire/inc_typebase.php3 b/ecrire/inc_typebase.php3
index 2cca2cd2a5843d6ba2185d8430df67b1778b4eed..96e465dd4eedd90cc0e84411e77e0e2aff41d4dc 100644
--- a/ecrire/inc_typebase.php3
+++ b/ecrire/inc_typebase.php3
@@ -79,6 +79,7 @@ $tables_documents = array(
 			  'sxi' => 'OpenOffice Impress',
 			  'sxw' => 'OpenOffice',
 			  'tex' => 'LaTeX',
+			  'torrent' => 'BitTorrent',
 			  'tgz' => 'TGZ',
 			  'txt' => 'texte',
 			  'xcf' => 'GIMP multi-layer',
@@ -143,6 +144,7 @@ $tables_mime = array(
 		'sxi'=>'application/vnd.sun.xml.impress',
 		'sxw'=>'application/vnd.sun.xml.writer',
 		'tex'=>'text/x-tex',
+		'torrent' => 'application/x-bittorrent',
 		'tgz'=>'application/x-gtar',
 		'txt'=>'text/plain',
 		'xcf'=>'application/x-xcf',