function gwvp_gitBackendInterface_new()
{
// and this is where i re-code the git backend interface from scratch
- global $repo_base, $BASE_URL;
+ global $BASE_URL;
+ $repo_base = gwvp_getConfigVal("repodir");
$repo = "";
$newloc = "/";
function gwvp_gitBackendInterface()
{
- global $repo_base, $BASE_URL;
+ global $BASE_URL;
+ $repo_base = gwvp_getConfigVal("repodir");
$repo = "";
$newloc = "/";
function gwvp_repoExists($name)
{
- global $repo_base;
+ $repo_base = gwvp_getConfigVal("repodir");
if(file_exists("$repo_base/$name.git")) return true;
else return false;
// 2 - only owner can see anything
function gwvp_createGitRepo($name, $ownerid, $desc, $bundle=null, $defaultperms=0)
{
- global $repo_base;
+ $repo_base = gwvp_getConfigVal("repodir");
// phew, this works, but i tell you this - bundles arent quite as nice as they should be
if($bundle == null) {