X-Git-Url: http://git.pjr.cc/?p=gwvp.git;a=blobdiff_plain;f=gwvplib%2Fgwvpauth.php;fp=gwvplib%2Fgwvpauth.php;h=086af98d6467cf5fb29b59432909aa9c91626fdb;hp=3e0ddcd8cdaae062da3df4d5a2b78cc9b1b17725;hb=507bc8f2818a42d751ed6e2e2fc68ee2bde94016;hpb=c968cf55b0f366830676c8555cf61e9765277e44 diff --git a/gwvplib/gwvpauth.php b/gwvplib/gwvpauth.php index 3e0ddcd..086af98 100644 --- a/gwvplib/gwvpauth.php +++ b/gwvplib/gwvpauth.php @@ -40,7 +40,6 @@ function gwvp_AskForBasicAuth() if(!isset($_SERVER["PHP_AUTH_USER"])) { header('WWW-Authenticate: Basic realm="My Realm"'); header('HTTP/1.0 401 Unauthorized'); - exit(0); } else return; } @@ -59,12 +58,6 @@ function gwvp_CheckAuthLevel($levels) return false; } -function gwvp_fourZeroThree() -{ - header("HTTP/1.0 403 Permission Denied"); - exit(0); -} - function gwvp_AuthNoPerms() { gwvp_goMainPage("gwvp_AuthNoPermsBody");