X-Git-Url: http://git.pk910.de/?p=phpgitweb.git;a=blobdiff_plain;f=htdocs%2Findex.php;fp=htdocs%2Findex.php;h=0834ad7178906af828f809e3bf8a3822648a1d44;hp=0000000000000000000000000000000000000000;hb=0a6d29345b57ef71b076003e18d13efd3478764c;hpb=c20b2789b4f1c2da70f33cf2d1e78f55478a6e19 diff --git a/htdocs/index.php b/htdocs/index.php new file mode 100644 index 0000000..0834ad7 --- /dev/null +++ b/htdocs/index.php @@ -0,0 +1,21 @@ +load_extension($_GET['e']); +} else { + if(array_key_exists('p', $_GET)) + $page->load_project($_GET['p']); + if(array_key_exists('a', $_GET)) + $page->load_content($_GET['a']); + else + $page->load_content('projects'); + + echo $page->get_content(); +} + +?> \ No newline at end of file