From e8e6656e93b6abd12ba6e44ae21c24e53d2f94ec Mon Sep 17 00:00:00 2001
From: Franck Villaume
Date: Tue, 29 Jan 2013 23:43:36 +0100
Subject: [PATCH] scmgit: final fix for use_dav
---
src/plugins/scmgit/common/GitPlugin.class.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/plugins/scmgit/common/GitPlugin.class.php b/src/plugins/scmgit/common/GitPlugin.class.php
index 90014c6f64..f9cede5f48 100644
--- a/src/plugins/scmgit/common/GitPlugin.class.php
+++ b/src/plugins/scmgit/common/GitPlugin.class.php
@@ -4,7 +4,7 @@
*
* Copyright 2009, Roland Mas
* Copyright 2009, Mehdi Dogguy
- * Copyright 2012, Franck Villaume - TrivialDev
+ * Copyright 2012-2013, Franck Villaume - TrivialDev
* http://fusionforge.org
*
* This file is part of FusionForge.
@@ -183,7 +183,7 @@ class GitPlugin extends SCMPlugin {
$b .= '
';
foreach ($repo_list as $repo_name) {
- $b .= 'git clone '.$protocol.'://'.$d.'@' . $project->getSCMBox() . '/'. forge_get_config('repos_path', 'scmgit') .'/'. $project->getUnixName() .'/'. $repo_name .'.git
' ;
+ $b .= 'git clone '.$protocol.'://'.$d.'@' . $project->getSCMBox() . '/'. forge_get_config('scm_root', 'scmgit') .'/'. $project->getUnixName() .'/'. $repo_name .'.git
' ;
}
--
2.30.2