dev auf main #68

Open
niklas.ortmann wants to merge 1044 commits from devNachCSRF into main
Showing only changes of commit c7f279b7e9 - Show all commits
+2 -1
View File
@@ -1,7 +1,8 @@
<?php
try {
$db = Database::getInstance();
//$db = Database::getInstance();
$db = new FileDatabase();
$author = "max.mustermann@web.de"; // wird später aus session bezogen.
$db->newArticle($_POST['post-title'], $_POST['post-content'], $author);
} catch (PDOException $e) {