From 80732354663181a1c25d18194e2119f32c584c0d Mon Sep 17 00:00:00 2001 From: NOrtmann1 Date: Mon, 1 Jun 2026 12:07:26 +0200 Subject: [PATCH] Update showArticle-controller.php --- php/controller/showArticle-controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/controller/showArticle-controller.php b/php/controller/showArticle-controller.php index 3f88d42..2e0e4ca 100644 --- a/php/controller/showArticle-controller.php +++ b/php/controller/showArticle-controller.php @@ -16,7 +16,7 @@ if (isset($_GET["id"]) && !empty($_GET["id"])){ $tags = $article->getTags(); }else{ echo "Test"; - header("location: ../../../index.php?pfad=404"); + header("location: index.php?pfad=404"); exit(); } } catch (Exception $e){