web pages and shite
[CBFWR.git] / www / index.php
index dd6163c..f933c82 100644 (file)
@@ -1,8 +1,9 @@
 <?php
 $WEB_ROOT_FS = realpath(dirname(__FILE__));
 $BASE_URL = dirname($_SERVER["PHP_SELF"]);
+$AM_DAEMON=false;
 
-global $WEB_ROOT_FS, $URL_HANDLERS, $BASE_URL;
+global $WEB_ROOT_FS, $URL_HANDLERS, $BASE_URL, $AM_DAEMON;
 
 // add libglcas as if it were a path in ../libglcas
 if(file_exists("../libcbfwr")) {
@@ -14,4 +15,9 @@ if(file_exists("../libcbfwr")) {
 // include the based library
 require_once("libcbfwr/lib.php");
 
+error_log("create cbfwweb");
+$webResponder = new CBFWWeb();
+error_log("go");
+$webResponder->go();
+
 ?>
\ No newline at end of file