X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/projects.git/blobdiff_plain/4c35cc8382109c6c9a2bc5e778bd15b13fe40363..refs/heads/master:/verleihnix/gui/mKrimiGui.php diff --git a/verleihnix/gui/mKrimiGui.php b/verleihnix/gui/mKrimiGui.php index a1abc94..c9e8f51 100644 --- a/verleihnix/gui/mKrimiGui.php +++ b/verleihnix/gui/mKrimiGui.php @@ -6,7 +6,7 @@ $user = getenv("USER"); if ($user == "") putenv("USER=gui"); // includes -$path = preg_replace("/mKrimi.*/", "mKrimi", __FILE__); +$path = preg_replace("/verleihnix.*/", "verleihnix", __FILE__); set_include_path($path . PATH_SEPARATOR . get_include_path()); require_once 'util/Logger.php'; require_once 'util/Config.php'; @@ -21,11 +21,11 @@ $logger = Logger::getInstance(); $requestMethod = $_SERVER["REQUEST_METHOD"]; $logger->log(__FILE__, $requestMethod); $logger->log(__FILE__, "GET-Variabeles:"); -while ( list($key, $value) = each($_GET) ) { +foreach ( $_GET as $key => $value) { $logger->log(__FILE__, $key . " : " . $value);; } $logger->log(__FILE__, "POST-Variabeles:"); -while ( list($key, $value) = each($_POST) ) { +foreach ( $_POST as $key => $value) { $logger->log(__FILE__, $key . " : " . $value);; } $logger->log(__FILE__,"Redirect-URL:".$_SERVER["REDIRECT_URL"]);