commit 215a04adfe60d005691bc9ce053b56999063138e
parent da7c63dbf236872961ee2a55e62d5e34a1f084c6
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 13 Dec 2014 20:18:41 +0100
and...
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/backend/admin/blog/newpost.php b/core/backend/admin/blog/newpost.php
@@ -7,9 +7,9 @@ $root_1 = realpath($_SERVER["DOCUMENT_ROOT"]);
$currentdir = getcwd();
$root_2 = str_replace($root_1, '', $currentdir);
echo $root_2;
-$root = preg_match('~/(.*?)]/~', $root_2);
+$root_3 = preg_match('~/(.*?)]/~', $root_2, $root);
echo " x ";
-echo $root;
+echo $root[0];
include('/core/config/variables.config.php');
################