commit 5ecfa56d8e2228974aa08040ba007c336440a294
parent f99fc79800f2c03dab8a68f42e371e9189b4380c
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 13 Dec 2014 20:08:50 +0100
this seems better :D
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/backend/admin/blog/newpost.php b/core/backend/admin/blog/newpost.php
@@ -5,7 +5,7 @@
header("Cache-Control: no-cache, must-revalidate, no-store");
$root_1 = realpath($_SERVER["DOCUMENT_ROOT"]);
$currentdir = getcwd();
-$root_2 = str_replace('', $currentdir, $root_1);
+$root_2 = str_replace($root_1, '', $currentdir);
echo $root_2;
include('/core/config/variables.config.php');