X-Git-Url: http://git.pjr.cc/?p=glcas.git;a=blobdiff_plain;f=www%2Findex.php;h=621c61d1326445a321290343a909b35a363b7fa9;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hb=HEAD;hpb=f0d3215bccb60b1f91468d4812944e4f26ee139c diff --git a/www/index.php b/www/index.php index e69de29..621c61d 100644 --- a/www/index.php +++ b/www/index.php @@ -0,0 +1,67 @@ +loadConfig($configpath); + +// the global action handler +if(isset($_REQUEST["glcasbasesendmsg"])) { + GLCASAddMessage($_REQUEST["msglev"], $_REQUEST["message"]); + header("Location: ".$_SERVER["HTTP_REFERER"]); + return; +} + +// step up to the web responder +$webResponder = new GLCASWeb($glconfig); +$webResponder->go($URL_HANDLERS); + + + + +/* +echo "
";
+echo "BASEURL: $BASE_URL\n";
+echo "CUSTOM\n";
+print_r($_SERVER);
+
+$vars = get_defined_vars();
+foreach($vars as $var => $vkey) {
+	echo "VAR $var is:\n";
+	var_dump($$var);
+	echo "\n\n";
+}
+
+echo "
"; +/**/ + +?> \ No newline at end of file