commit af93940fdf975b18a5fb6fd6dc474890e3a62714
parent 45e9e9f4d8f26f7beffe582ab712afcce813ff6a
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 13 Dec 2014 19:57:50 +0100
trim() wasn't the thing I wanted to use :/
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 @@ echo " x ";
$currentdir = getcwd();
echo getcwd();
echo " x ";
-$root_2 = trim($currentdir, $root_1);
+$root_2 = str_replace($currentdir, '', $root_1);
echo $root_2;
include('/core/config/variables.config.php');