This commit is contained in:
NOrtmann1
2026-05-27 17:39:58 +02:00
parent d43218fdb2
commit 6076903b42
+4 -4
View File
@@ -13,14 +13,13 @@ try {
}catch (Exception $e){
die("Fehler bei der Initialisierung des Artikel-Managers: " . $e->getMessage());
}
echo $articleManager->test();
/*
if ($_SERVER["REQUEST_METHOD"] === "POST") {
if(!isset($_POST["title"]) ||!isset($_POST["content"]) || !isset($_POST["category"])){
$_SESSION["message"] = "missing_parameters";
header("location: index.php?pfad=createArticle");
} else {
/*
echo $articleManager->test();
$title = $_POST["title"];
$content = $_POST["content"];
@@ -33,8 +32,9 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") {
// Weiterleitung zur Homepage
header("location: index.php");
exit();
*/
}
}
*/
?>