$mapping["main"] = $environment["kategorie"]; } } else { if ($environment["katid"] != "" && $environment["katid"] != "index") { $mapping["main"] = $environment["katid"]; } } // was steht in den post vars foreach ($HTTP_POST_VARS as $name => $value) { if ($debugging["html_enable"]) { $debugging["ausgabe"] .= $name . " => " . $value . $debugging["char"]; } } // hallo zur datenbank $db = new DB_connect(); $version = $db->getVERSION(); if ($debugging["html_enable"]) { $debugging["ausgabe"] .= "db version: " . $version . $debugging["char"]; } $connect = $db->connect(); if ($debugging["html_enable"]) { $debugging["ausgabe"] .= "db connect: " . $connect . $debugging["char"]; } // login verwalten ( muss erste funktion nach datenbank connect sein !!!) require $pathvars["config"] . "auth.cfg.php"; require $pathvars["libraries"] . "auth.inc.php"; if ($environment["katid"] == "cms") { include $pathvars["libraries"] . "cms.inc.php"; } else { if (strstr($_SERVER["REQUEST_URI"], "/auth/")) { session_register("page");