From 7a784c8243e83e4f8e1855fda2a41725bc7a946d Mon Sep 17 00:00:00 2001 From: NOrtmann1 <145041949+NOrtmann1@users.noreply.github.com> Date: Wed, 27 May 2026 17:49:11 +0200 Subject: [PATCH] Update createArticle-controller.php --- php/controller/createArticle-controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }