{
global $repo_view_call;
- error_log("in admin callme");\r
+ // error_log("in admin callme");\r
if(isset($_REQUEST["q"])) {\r
$query = $_REQUEST["q"];\r
$qspl = explode("/", $query);\r
}
- error_log("STUFF:".print_r($owner,true));
+ // error_log("STUFF:".print_r($owner,true));
if($bperms != "a") $login = $_SESSION["username"].":password@";
else $login = "";
$cloneurl = "git clone $proto$login$sname$BASE_URL/git/$repo_view_call.git";
if($bperms == "r") $regd = " selected";\r
if($bperms == "x") $expl = " selected";\r
- error_log("BPERMS: $bperms");
+ // error_log("BPERMS: $bperms");
if($bperms == "x") $cspan = 3;
else $cspan = 2;
if(isset($_REQUEST["q"])) {\r
$query = $_REQUEST["q"];\r
$qspl = explode("/", $query);
- error_log("PLOOP:qview".print_r($qspl, true));\r
+ // error_log("PLOOP:qview".print_r($qspl, true));\r
}
if(isset($qspl[1])) $repo_view_call = $qspl[1];
else {
- error_log("PLOOP: no repo name");
+ // error_log("PLOOP: no repo name");
header("Location: $BASE_URL/view/$repo_view_call");
return;
}
if(!$owner_view) {
gwvpmini_SendMessage("error", "failure updating permission for repo");
- error_log("PLOOP: attempt to update from non-owner");
+ // error_log("PLOOP: attempt to update from non-owner");
} else {
- error_log("PLOOP: updateds: ".print_r($_REQUEST, true));
+ // error_log("PLOOP: updateds: ".print_r($_REQUEST, true));
gwvpmini_ChangeRepoPerm($rid, "b", $_REQUEST["base_perms"]);
gwvpmini_SendMessage("info", "Base permissions for repo updated");
}\r
if(isset($_REQUEST["q"])) {\r
$query = $_REQUEST["q"];\r
$qspl = explode("/", $query);\r
- error_log("PLOOP:qview".print_r($qspl, true));\r
+ // error_log("PLOOP:qview".print_r($qspl, true));\r
}\r
\r
if(isset($qspl[1])) $repo_view_call = $qspl[1];\r
else {\r
- error_log("PLOOP: no repo name");
+ // error_log("PLOOP: no repo name");
// TODO: btw, this makes no sense\r
header("Location: $BASE_URL/view/$repo_view_call");\r
return;\r
}
if(!$owner_view) {
gwvpmini_SendMessage("error", "failure updating permission for repo");\r
- error_log("PLOOP: attempt to update from non-owner");
+ // error_log("PLOOP: attempt to update from non-owner");
header("Location: $BASE_URL/view/$repo_view_call");
return;
}\r
if(isset($_REQUEST["q"])) {\r
$query = $_REQUEST["q"];\r
$qspl = explode("/", $query);\r
- error_log("PLOOP:qview".print_r($qspl, true));\r
+ // error_log("PLOOP:qview".print_r($qspl, true));\r
}\r
\r
if(isset($qspl[1])) $repo_view_call = $qspl[1];\r
else {\r
- error_log("PLOOP: no repo name");\r
+ // error_log("PLOOP: no repo name");\r
// TODO: btw, this makes no sense\r
header("Location: $BASE_URL/view/$repo_view_call");\r
return;\r
}\r
if(!$owner_view) {\r
gwvpmini_SendMessage("error", "failure updating permission for repo");\r
- error_log("PLOOP: attempt to update from non-owner");\r
+ // error_log("PLOOP: attempt to update from non-owner");\r
header("Location: $BASE_URL/view/$repo_view_call");\r
return;\r
}\r
if(isset($_REQUEST["q"])) {\r
$query = $_REQUEST["q"];\r
$qspl = explode("/", $query);\r
- error_log("PLOOP:qview".print_r($qspl, true));\r
+ // error_log("PLOOP:qview".print_r($qspl, true));\r
}\r
\r
if(isset($qspl[1])) $repo_view_call = $qspl[1];\r
else {\r
- error_log("PLOOP: no repo name");\r
+ // error_log("PLOOP: no repo name");\r
// TODO: btw, this makes no sense\r
header("Location: $BASE_URL/view/$repo_view_call");\r
return;\r
}\r
if(!$owner_view) {\r
gwvpmini_SendMessage("error", "failure updating permission for repo");\r
- error_log("PLOOP: attempt to update from non-owner");\r
+ // error_log("PLOOP: attempt to update from non-owner");\r
header("Location: $BASE_URL/view/$repo_view_call");\r
return;\r
}
if(isset($_REQUEST["q"])) {\r
$query = $_REQUEST["q"];\r
$qspl = explode("/", $query);\r
- error_log("PLOOP:qview".print_r($qspl, true));\r
+ // error_log("PLOOP:qview".print_r($qspl, true));\r
}\r
\r
if(isset($qspl[1])) $repo_view_call = $qspl[1];\r
else {\r
- error_log("PLOOP: no repo name");\r
+ // error_log("PLOOP: no repo name");\r
// TODO: btw, this makes no sense\r
header("Location: $BASE_URL/view/$repo_view_call");\r
return;\r
}\r
if(!$owner_view) {\r
gwvpmini_SendMessage("error", "failure updating permission for repo");\r
- error_log("PLOOP: attempt to update from non-owner");\r
+ // error_log("PLOOP: attempt to update from non-owner");\r
header("Location: $BASE_URL/view/$repo_view_call");\r
return;\r
}\r
if(isset($_REQUEST["q"])) {\r
$query = $_REQUEST["q"];\r
$qspl = explode("/", $query);\r
- error_log("PLOOP:qview".print_r($qspl, true));\r
+ // error_log("PLOOP:qview".print_r($qspl, true));\r
}\r
\r
if(isset($qspl[1])) $repo_view_call = $qspl[1];\r
else {\r
- error_log("PLOOP: no repo name");\r
+ // error_log("PLOOP: no repo name");\r
// TODO: btw, this makes no sense\r
header("Location: $BASE_URL/view/$repo_view_call");\r
return;\r
}\r
if(!$owner_view) {\r
gwvpmini_SendMessage("error", "failure updating description for repo");\r
- error_log("PLOOP: attempt to update from non-owner");\r
+ // error_log("PLOOP: attempt to update from non-owner");\r
header("Location: $BASE_URL/view/$repo_view_call");\r
return;\r
}\r