From 604dbeca936678287fc5d434de1cf58a757e7f82 Mon Sep 17 00:00:00 2001 From: rirat-0 Date: Tue, 2 Jun 2026 14:07:33 +0200 Subject: [PATCH] Aktualisierung --- php/controller/search-results-controller.php | 24 ++++---------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/php/controller/search-results-controller.php b/php/controller/search-results-controller.php index 2fe45fb..681fad3 100644 --- a/php/controller/search-results-controller.php +++ b/php/controller/search-results-controller.php @@ -1,23 +1,7 @@ "; - echo "Controller-Fehler: Die Model-Dateien wurden nicht gefunden.
"; - echo "Gesuchter Pfad 1: " . htmlspecialchars($modelPath1) . "
"; - echo "Gesuchter Pfad 2: " . htmlspecialchars($modelPath2) . ""; - echo ""; -} +session_start(); +require_once '/../model/LocalArticleManager.php'; +require_once '/../model/ArticleManager.php'; if ($_SERVER["REQUEST_METHOD"] === "GET" && isset($_GET["q"])) { @@ -42,5 +26,5 @@ if ($_SERVER["REQUEST_METHOD"] === "GET" && isset($_GET["q"])) { } } - +// ?> \ No newline at end of file