commit 040d0e5f378530a894e5313372a232c9b61004e2
parent e4889de0718caca3e5dab9914d77a0b147a85694
Author: MTRNord <mtrnord1@gmail.com>
Date: Tue, 13 Jan 2015 19:48:32 +0100
some fixes
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/core/backend/admin/blog/newpost.php b/core/backend/admin/blog/newpost.php
@@ -17,6 +17,7 @@ if ($root_3[1] == 'core') {
$root = $root_1 . '/' . $root_3[1];
}
include($root . '/core/config/variables.config.php');
+include($root . '/core/config/connect.db.inc.php');
if ($resultat = $connection->query('SELECT id FROM posts')) {
while($daten = $resultat->fetch_object() ){
diff --git a/themes/jumbotron/admin.php b/themes/jumbotron/admin.php
@@ -197,7 +197,7 @@ foreach($langs as $prio => $lang) {
<div class="hide_" id="newpost">
<h2>New Post</h2>
- <form method="post" action="core/backend/admin/blog/newpost.php">
+ <form method="post" action="../../core/backend/admin/blog/newpost.php">
<div class="form-group">
<label for="post_title">Title</label>
<input type="text" name="title" class="form-control" id="post_title">