From 375e6d9625e7736d89eb36d49587f2484d124656 Mon Sep 17 00:00:00 2001 From: rirat-0 Date: Wed, 3 Jun 2026 00:45:57 +0200 Subject: [PATCH] fehlersuche 6 --- content/search-results.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/content/search-results.php b/content/search-results.php index fa4871b..5287246 100644 --- a/content/search-results.php +++ b/content/search-results.php @@ -12,12 +12,6 @@ echo ""; $projectRoot = "/var/www/html/DI-14-C-ImplementedSearch"; $articleClassPath = $projectRoot . '/model/Article.php'; -require_once $projectRoot . '/model/Article.php'; - -if (session_status() === PHP_SESSION_NONE) { - session_start(); -} - $results = $_SESSION["search_results"] ?? []; $query = $_SESSION["search_query"] ?? ""; $resultCount = count($results);