Fixed bug preventing the download.

dev
Loic d'Anterroches 2008-09-03 00:12:25 +02:00
parent 2acf2fb054
commit 5b9dbd5c3b
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ class IDF_Views_Source
}
if ($request_file_info->type != 'tree') {
$info = self::getMimeType($request_file_info->file);
if (Pluf::f('src') == 'git') {
if ($request->conf->getVal('scm', 'git') == 'git') {
$rep = new Pluf_HTTP_Response($scm->getBlob($request_file_info->hash),
$info[0]);
}