diff --git a/php/controller/createArticle-controller.php b/php/controller/createArticle-controller.php index bdab780..a3cadf4 100644 --- a/php/controller/createArticle-controller.php +++ b/php/controller/createArticle-controller.php @@ -1,9 +1,9 @@ addArticle($title, $content, $category, $author, $tags); // Weiterleitung zur Homepage - header("location:". $abs_path . "/index.php"); + header("location: index.php"); exit(); } ?> \ No newline at end of file diff --git a/php/model/ArticleManager.php b/php/model/ArticleManager.php index f1dbac4..e64a049 100644 --- a/php/model/ArticleManager.php +++ b/php/model/ArticleManager.php @@ -1,8 +1,8 @@