its all about the time
[gwvp.git] / www / index.php
index 4f83001..fb71493 100644 (file)
@@ -3,7 +3,26 @@
 // initial http file
 require_once("config.php");
 
+/* first determine the url, it will be something that does either or the following:
+ * 
+ * 
+ * 1. admin functions (create/delete repo)
+ * 2. user functions (patch pushes, pull requests)
+ * 3. gitweb functions (to display git web output)
+ * 4. git-http-backend functions (to interact with command line functions)
+ * 5. do we auth?
+ */
+
+goWeb();
+
+echo "<pre>";
+echo "BASEURL: $BASE_URL\n";
+echo "CUSTOM\n";
+print_r($_SERVER);
+print_r($_REQUEST);
+
+
+echo "</pre>";
 
-echo "Hello moto";
 
 ?>