$abs_path
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
Inhalt: Formular für die Erstellung eines neuen Beitrags
|
||||
-->
|
||||
<?php
|
||||
include_once 'php/model/ArticleManagerDAO.php';
|
||||
include_once 'php/model/ArticleManager.php';
|
||||
include_once $abs_path . '/php/model/ArticleManagerDAO.php';
|
||||
include_once $abs_path . '/php/model/ArticleManager.php';
|
||||
|
||||
if(isset($_POST['title']) && isset($_POST['content']) && isset($_POST['post-category'])) {
|
||||
if(isset($_POST['title']) && isset($_POST['content']) && isset($_POST['category'])) {
|
||||
|
||||
}else{
|
||||
// TODO: Exception werfen.
|
||||
@@ -14,7 +14,7 @@
|
||||
}
|
||||
?>
|
||||
|
||||
<form method="post" action="php/controller/createArticle-controller.php" id="editor-form" class="wp-editor-scope editor-container">
|
||||
<form method="post" action="../php/controller/createArticle-controller.php" id="editor-form" class="wp-editor-scope editor-container">
|
||||
|
||||
<main class="editor-main">
|
||||
<input type="text" id="title" name="title" placeholder="Titel hier eingeben" required>
|
||||
|
||||
Reference in New Issue
Block a user