started work on the git backend bit
[gwvp.git] / gwvplib / gwvpdebug.php
index 3793e31..fb8d49c 100644 (file)
@@ -22,6 +22,8 @@ function gwvp_DebugEnabled()
        } else {
                echo "No session data";
        }
+       echo "\n\nglobal\n";
+       print_r($GLOBALS);
        
        
        echo "</pre>";
@@ -97,6 +99,11 @@ function gwvp_DebugCall()
                                        gwvp_createGroup("usergroup", 0, gwvp_getUserId("user@localhost"));
                                        gwvp_addGroupMember("user@localhost", "usergroup");
                                        gwvp_SendMessage("info", "blank db re-created");
+                                       
+                                       gwvp_AddRepo("repo1", "this is a test repo1", 1);
+                                       gwvp_AddRepo("repo2", "this is a test repo2", 1);
+                                       gwvp_AddRepo("repo2", "this is a test repo3", 1);
+                                       
                                        header("Location: $BASE_URL/debug");
                                        break;
                                case "dropallusersandgroups":