X-Git-Url: http://git.pjr.cc/?p=glcas.git;a=blobdiff_plain;f=www%2Findex.php;h=621c61d1326445a321290343a909b35a363b7fa9;hp=be74178d5beb1ef7ada1ca1d0b56dbfd89ecfa40;hb=HEAD;hpb=bd9be16e7a7bc70c6fe40ad57357381ec5bad393 diff --git a/www/index.php b/www/index.php index be74178..621c61d 100644 --- a/www/index.php +++ b/www/index.php @@ -1,14 +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 ""; +/**/ + +?> \ No newline at end of file"; +echo "BASEURL: $BASE_URL\n"; +echo "CUSTOM\n"; print_r($_SERVER); -?> -- \ No newline at end of file + +$vars = get_defined_vars(); +foreach($vars as $var => $vkey) { + echo "VAR $var is:\n"; + var_dump($$var); + echo "\n\n"; +} + +echo "