* Modify file download.

This commit is contained in:
caoyanyi
2022-07-14 11:54:53 +08:00
parent c2f36659eb
commit 129da92475
+1 -1
View File
@@ -1367,7 +1367,7 @@ class repo extends control
}
$repo = $this->repo->getRepoByID($repoID);
if(in_array($repo->SCM, $this->config->repo->gitServiceList))
if(in_array(strtolower($repo->SCM), $this->config->repo->gitServiceList))
{
$this->scm = $this->app->loadClass('scm');
$this->scm->setEngine($repo);