various repo admin bits
[gwvp.git] / gwvplib / gwvpgitcontrol.php
index dddf0b2..18ddde5 100644 (file)
@@ -27,6 +27,27 @@ function gwvp_repoPermissionCheck($repo, $user)
        return true;
 }
 
+function gwvp_gitBackendInterface_new()
+{
+       // and this is where i re-code the git backend interface from scratch
+       global $repo_base, $BASE_URL;
+       
+       
+       $repo = "";
+       $newloc = "/";
+       if(isset($_REQUEST["q"])) {
+               $query = $_REQUEST["q"];
+               $qspl = explode("/", $query);
+               $repo = $qspl[1];
+               for($i=2; $i < count($qspl); $i++) {
+                       $newloc .= "/".$qspl[$i];
+               }
+       }
+       
+       
+}
+
+
 function gwvp_gitBackendInterface()
 {
        global $repo_base, $BASE_URL;