just trying to figure out how to get someone to auth at the gitbackend
[gwvp.git] / gwvplib / gwvpdebug.php
index b1df458..d9f787d 100644 (file)
@@ -9,6 +9,7 @@ function gwvp_DebugEnabled()
        global $BASE_URL, $LOGIN_TYPE;
        
        echo "<pre>";
+       if(isset($_SERVER["PHP_AUTH_USER"])) error_log("authuser: ".$_SERVER["PHP_AUTH_USER"]."\n");
        echo "USERTYPE: $LOGIN_TYPE\n";
        echo "BASEURL: $BASE_URL\n";
        echo "CUSTOM\n";
@@ -22,6 +23,8 @@ function gwvp_DebugEnabled()
        } else {
                echo "No session data";
        }
+       echo "\n\nglobal\n";
+       print_r($GLOBALS);
        
        
        echo "</pre>";