diff --git a/php/controller/showArticle-controller.php b/php/controller/showArticle-controller.php index b5ae40d..46936b8 100644 --- a/php/controller/showArticle-controller.php +++ b/php/controller/showArticle-controller.php @@ -15,7 +15,7 @@ if (isset($_GET["id"]) && !empty($_GET["id"])){ $author = $article->getAuthor(); $tags = $article->getTags(); }else{ - header("location: ../index.php?pfad=404"); + header("location: index.php?pfad=404"); exit(); } } catch (Exception $e){