more repo admin gui, added a component for controlling cmd line git
[gwvp.git] / gwvplib / gwvpconfig.php
index 4ebfb42..74ee6ec 100644 (file)
@@ -4,12 +4,13 @@
 
 // crap, this wont work
 //if(isset($_SESSION["usertype"])) if($_SESSION["usertype"] == "admin") {
-       $CALL_ME_FUNCTIONS["config"] = "gwvp_ConfigCallMe";
-       $MENU_ITEMS["40config"]["text"] = "Configuration";
-       $MENU_ITEMS["40config"]["link"] = "$BASE_URL/admin/config";
-       $MENU_ITEMS["40config"]["userlevel"] = "admin";
+$CALL_ME_FUNCTIONS["config"] = "gwvp_ConfigCallMe";
+$MENU_ITEMS["40config"]["text"] = "Configuration";
+$MENU_ITEMS["40config"]["link"] = "$BASE_URL/admin/config";
+$MENU_ITEMS["40config"]["userlevel"] = "admin";
 //}
 
+global $repo_base, $data_directory; 
 
 function gwvp_ConfigCallMe()
 {