diff --git a/php/controller/showArticle-controller.php b/php/controller/showArticle-controller.php index 154da0b..3f88d42 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){