diff --git a/content/search-results.php b/content/search-results.php index 0ce027c..22c1024 100644 --- a/content/search-results.php +++ b/content/search-results.php @@ -2,22 +2,6 @@ session_start(); //debugging -if (isset($_GET["q"])) { - - $controllerPath = dirname(__DIR__) . "/php/controller/search-results-controller.php"; - - if (file_exists($controllerPath)) { - // existierende datei wird eingebunden - include_once $controllerPath; - } else { - // anzeigen falls pfad falsch ist - echo "
"; - echo "PFAD-FEHLER: Der Controller wurde unter folgendem Pfad nicht gefunden:
"; - echo "" . htmlspecialchars($controllerPath) . "
"; - echo "richtiger pfad name?"; - echo "
"; - } -} echo "
";
 echo "Aktuelle URL-Parameter (GET): "; print_r($_GET);
 echo "Aktueller Session-Inhalt (SESSION): "; print_r($_SESSION);