From d72bf8c3e274724bad3e1428166c43ed211b0738 Mon Sep 17 00:00:00 2001 From: NOrtmann1 <145041949+NOrtmann1@users.noreply.github.com> Date: Wed, 27 May 2026 17:00:24 +0200 Subject: [PATCH] testing --- php/controller/createArticle-controller.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/php/controller/createArticle-controller.php b/php/controller/createArticle-controller.php index a3cadf4..ab20bca 100644 --- a/php/controller/createArticle-controller.php +++ b/php/controller/createArticle-controller.php @@ -10,7 +10,7 @@ try { }catch (Exception $e){ die("Fehler bei der Initialisierung des Artikel-Managers: " . $e->getMessage()); } - +/* if ($_SERVER["REQUEST_METHOD"] === "POST") { if(!isset($_POST["title"]) ||!isset($_POST["content"]) || !isset($_POST["category"])){ $_SESSION["message"] = "missing_parameters"; @@ -29,4 +29,5 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") { header("location: index.php"); exit(); } +*/ ?> \ No newline at end of file