testing
This commit is contained in:
@@ -17,7 +17,8 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
$articleManager = ArticleManager::getInstance();
|
$articleManager = ArticleManager::getInstance();
|
||||||
$articleManager->addArticle($title, $content, $author, $category, $tags);
|
//$articleManager->addArticle($title, $content, $author, $category, $tags);
|
||||||
|
$articleManager->addArticle("Test", "Testkontent", "informatik", "max.mustermann", "Apfel, Birne");
|
||||||
} catch (Exception $e){
|
} catch (Exception $e){
|
||||||
$_SESSION["message"] = "internal_error";
|
$_SESSION["message"] = "internal_error";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user