pulls/clones now work thru git-http-backend THRU my php script
[gwvp.git] / www / index.php
1 <?php
2
3 // initial http file
4 require_once("config.php");
5
6 /* first determine the url, it will be something that does either or the following:
7  * 
8  * 
9  * 1. admin functions (create/delete repo)
10  * 2. user functions (patch pushes, pull requests)
11  * 3. gitweb functions (to display git web output)
12  * 4. git-http-backend functions (to interact with command line functions)
13  * 5. do we auth?
14  */
15
16 goWebGitBackEnd();
17
18 /*
19 echo "<pre>";
20 echo "BASEURL: $BASE_URL\n";
21 echo "CUSTOM\n";
22 print_r($_SERVER);
23 print_r($_REQUEST);
24
25
26 echo "</pre>";
27 */
28
29 ?>