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]); }