commit f99fc79800f2c03dab8a68f42e371e9189b4380c
parent 7070d0c66969948953f7a9aa6aefe7dcfaff6479
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 13 Dec 2014 20:07:07 +0100
one more try
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('', $currentdir, $root_1);
echo $root_2;
include('/core/config/variables.config.php');