first test
This commit is contained in:
@@ -2,24 +2,6 @@
|
||||
Seite: Beitrag erstellen
|
||||
Inhalt: Formular für die Erstellung eines neuen Beitrags
|
||||
-->
|
||||
<?php
|
||||
include_once $abs_path . '/php/model/ArticleManagerDAO.php';
|
||||
include_once $abs_path . '/php/model/ArticleManager.php';
|
||||
|
||||
try {
|
||||
$articleManager = new ArticleManager();
|
||||
}catch (Exception $e){
|
||||
die("Fehler bei der Initialisierung des Artikel-Managers: " . $e->getMessage());
|
||||
}
|
||||
|
||||
if(isset($_POST['title']) && isset($_POST['content']) && isset($_POST['category'])) {
|
||||
|
||||
}else{
|
||||
// TODO: Exception werfen.
|
||||
echo"Fehler!";
|
||||
}
|
||||
?>
|
||||
|
||||
<form method="post" action="php/controller/createArticle-controller.php" id="editor-form" class="wp-editor-scope editor-container">
|
||||
|
||||
<main class="editor-main">
|
||||
|
||||
Reference in New Issue
Block a user