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