X-Git-Url: http://git.pjr.cc/?p=glcas.git;a=blobdiff_plain;f=www%2Findex.php;h=621c61d1326445a321290343a909b35a363b7fa9;hp=4a873a47729cb0e5165de50350ac8229fa0df105;hb=HEAD;hpb=793f4946912d9cca18b8a8ef3d6d961fb1ff0462 diff --git a/www/index.php b/www/index.php index 4a873a4..621c61d 100644 --- a/www/index.php +++ b/www/index.php @@ -1,15 +1,67 @@ -loadConfig($configpath); + +// the global action handler +if(isset($_REQUEST["glcasbasesendmsg"])) { + GLCASAddMessage($_REQUEST["msglev"], $_REQUEST["message"]); + header("Location: ".$_SERVER["HTTP_REFERER"]); + return; } -?> - - -No Web Component Installed - - +// 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