From c1c8bc47d7302380368d939770d8cf139b429dbe Mon Sep 17 00:00:00 2001 From: NOrtmann1 <145041949+NOrtmann1@users.noreply.github.com> Date: Wed, 27 May 2026 17:19:11 +0200 Subject: [PATCH] testing --- php/controller/createArticle-controller.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php/controller/createArticle-controller.php b/php/controller/createArticle-controller.php index eaee480..f985bdb 100644 --- a/php/controller/createArticle-controller.php +++ b/php/controller/createArticle-controller.php @@ -11,7 +11,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"; @@ -30,5 +30,5 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") { header("location: index.php"); exit(); } - +*/ ?> \ No newline at end of file