From 5b9dbd5c3b589d3526ec8573d1fec4ed4a4c5d2f Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Wed, 3 Sep 2008 00:12:25 +0200 Subject: [PATCH] Fixed bug preventing the download. --- src/IDF/Views/Source.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IDF/Views/Source.php b/src/IDF/Views/Source.php index 0778f63..964e09c 100644 --- a/src/IDF/Views/Source.php +++ b/src/IDF/Views/Source.php @@ -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]); }