its all about the time
[gwvp.git] / www / index.php
index 95cbd7e..fb71493 100644 (file)
@@ -1,5 +1,28 @@
-<php?
+<?php
 
 // 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>";
+
 
 ?>