commit 58f5f6d1bedcc8d3f6cb72b37e43570c91301e16
parent 30c48f13f7450bf009c5823505be997a2e0e4b3d
Author: MTRNord <mtrnord1@gmail.com>
Date: Tue, 13 Jan 2015 20:05:37 +0100
the redirect didn't work and my pi database has blank page :/
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/backend/admin/blog/newpost.php b/core/backend/admin/blog/newpost.php
@@ -19,7 +19,7 @@ if ($root_3[1] == 'core') {
}
include($root . '/core/config/variables.config.php');
include($root . '/core/config/connect.db.inc.php');
-$url = $root;
+$url = $_SERVER["DOCUMENT_ROOT"];
while (ob_get_status()) {
if ($resultat = $connection->query('SELECT id FROM posts')) {