commit 0b7174dbcbc8ea4bc947e5ac22ce803c012ecd92
parent 5ecfa56d8e2228974aa08040ba007c336440a294
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 13 Dec 2014 20:13:48 +0100
It getting better
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/core/backend/admin/blog/newpost.php b/core/backend/admin/blog/newpost.php
@@ -7,6 +7,9 @@ $root_1 = realpath($_SERVER["DOCUMENT_ROOT"]);
$currentdir = getcwd();
$root_2 = str_replace($root_1, '', $currentdir);
echo $root_2;
+$root = preg_match('//(.*/)\./s', $root_2);
+echo " x ";
+echo $root;
include('/core/config/variables.config.php');
################