Update createArticle-controller.php
This commit is contained in:
@@ -26,7 +26,7 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") {
|
|||||||
//$articleManager->addArticle($title, $content, $category, $author, $tags);
|
//$articleManager->addArticle($title, $content, $category, $author, $tags);
|
||||||
|
|
||||||
// Weiterleitung zur Homepage
|
// Weiterleitung zur Homepage
|
||||||
header("location:" . $abs_path . "../../index.php");
|
header("location: ../../index.php");
|
||||||
exit();
|
exit();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user