log("gui.MainControlP", "Request: ".date("r")); //$logger->log("gui.MainControlP", $_HEADER); foreach ( $_SERVER as $key => $value ){ $logger->log("gui.MainControlP","$key => $value" ); } $logger->log("gui","GET-Parameter:"); foreach ( $_GET as $key => $value ){ $logger->log("gui.MainControlP","$key => $value" ); } $logger->log("gui","POST-Parameter:"); foreach ( $_POST as $key => $value ){ $logger->log("gui.MainControlP","$key => $value" ); } } catch (Exception $ex) { require("ErrorView.php"); return; } do { try { MainControl::doIt(); $rc = OK; } catch (Exception $ex) { if ( ($rc = $ex->getCode()) == SOK ) { ; //continue } else { $logger->logException("gui.MainControlP", $ex); require("ErrorView.php"); return; } } } while ( $rc == SOK ); } } ?>