X-Git-Url: http://git.pjr.cc/?p=gwvp-mini.git;a=blobdiff_plain;f=gwvpmini%2Fgwvpmini_gitbackend.php;h=10bb77c04ce8a496ecb069862261cf9152fd6ce8;hp=192bb067526a6d34d54d8b4cdca0240b18febbd7;hb=1b92a34cf5410903805474d427466ca4063f8b6c;hpb=6c1b92d76da061444557f79b494f0e4a3c5258c0 diff --git a/gwvpmini/gwvpmini_gitbackend.php b/gwvpmini/gwvpmini_gitbackend.php index 192bb06..10bb77c 100644 --- a/gwvpmini/gwvpmini_gitbackend.php +++ b/gwvpmini/gwvpmini_gitbackend.php @@ -31,6 +31,14 @@ function gwvpmini_gitBackendInterface() // and this is where i re-code the git backend interface from scratch global $BASE_URL; + header_remove("Pragma"); + header_remove("Cache-Control"); + header_remove("Set-Cookie"); + header_remove("Expires"); + header_remove("X-Powered-By"); + header_remove("Vary"); + + $repo_base = gwvpmini_getConfigVal("repodir"); // TODO: we need to stop passing the repo name around as "repo.git", it needs to be just "repo" @@ -146,7 +154,7 @@ function gwvpmini_gitBackendInterface() echo fread($fh, 8192); } } else { - //echo "would ask $repo,$actual_repo_name for $repo/$newloc from $repo_base/$repo/$newloc, NE"; + error_log("would ask $repo for $repo/$newloc from $repo_base/$repo/$newloc, NE"); gwvpmini_fourZeroFour(); return; }