Fixed bug preventing the download.
This commit is contained in:
parent
2acf2fb054
commit
5b9dbd5c3b
@ -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]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user