diff --git a/php/controller/createArticle-controller.php b/php/controller/createArticle-controller.php index 94db813..acd14fb 100644 --- a/php/controller/createArticle-controller.php +++ b/php/controller/createArticle-controller.php @@ -26,7 +26,7 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") { //$articleManager->addArticle($title, $content, $category, $author, $tags); // Weiterleitung zur Homepage - header("location:" . $abs_path . "../../index.php"); + header("location: ../../index.php"); exit(); }