commit fd015e4d1ef7ce78f44eafdd924ea84f31798bee
parent 4f05b13f035c4c84baa47bf306f9e1190f208cb2
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 16 May 2015 14:51:49 +0200
new try
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/core/backend/blog/posts.php b/core/backend/blog/posts.php
@@ -19,7 +19,7 @@ if ($root_3[1] == 'core') {
}else{
$root = $root_1 . '/' . $root_3[1];
}
- include($root . '/core/config/connect.db.inc.php');
+ //include($root . '/core/config/connect.db.inc.php');
//Check if Database connection established
if (mysqli_connect_errno()) {
printf("Verbindung fehlgeschlagen: %s\n", mysqli_connect_error());
@@ -169,7 +169,6 @@ function shortText($string,$lenght) {
return $string;
}
//$longtext = $post_text;
-$connection->close();
function deletePost($id) {
global $connection;
echo "ID: $id";