Added more text extensions and give the ability to add in the config.

Using the 'idf_extra_text_ext' configuration variable you can add more
text extensions.
This commit is contained in:
Loic d'Anterroches
2008-12-17 15:08:51 +01:00
parent e282c65bb0
commit d11b107ce1
2 changed files with 7 additions and 2 deletions

View File

@@ -190,5 +190,9 @@ $cfg['allowed_scm'] = array('git' => 'IDF_Scm_Git',
'mercurial' => 'IDF_Scm_Mercurial',
);
$cfg['idf_mimetypes_db'] = '/etc/mime.types';
# If you want to use another memtypes database
# $cfg['idf_mimetypes_db'] = '/etc/mime.types';
# Extra text files when displaying source
# $cfg['idf_extra_text_ext'] = 'ext1 ext2 ext3';
return $cfg;