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