From 8e9e7d65d066defb0bbd01bfb76e40708b1ab09f Mon Sep 17 00:00:00 2001 From: rirat-0 Date: Tue, 2 Jun 2026 13:59:21 +0200 Subject: [PATCH] noch mehr debugging --- content/search-results.php | 16 ---------------- 1 file changed, 16 deletions(-) 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);