Added ticket 86, preview attached files to issues.

This commit is contained in:
Loic d'Anterroches
2008-12-30 18:00:59 +01:00
parent e6b19a695b
commit 2078d69a83
8 changed files with 80 additions and 6 deletions

View File

@@ -401,7 +401,7 @@ class IDF_Views_Source
if (0 === strpos($fileinfo[0], 'text/')) {
return true;
}
$ext = 'mdtext php js cpp php-dist h gitignore sh py pl rb '
$ext = 'mdtext php js cpp php-dist h gitignore sh py pl rb diff patch'
.Pluf::f('idf_extra_text_ext', '');
return (in_array($fileinfo[2], explode(' ', $ext)));
}