commit 7070d0c66969948953f7a9aa6aefe7dcfaff6479
parent 0327b1f3686ac5d87eb6c84608e958633427139a
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 13 Dec 2014 20:04:27 +0100
my echo don't work or is the str_replace() wrong????
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/core/backend/admin/blog/newpost.php b/core/backend/admin/blog/newpost.php
@@ -4,11 +4,7 @@
#######################
header("Cache-Control: no-cache, must-revalidate, no-store");
$root_1 = realpath($_SERVER["DOCUMENT_ROOT"]);
-echo $root_1;
-echo " x ";
$currentdir = getcwd();
-echo getcwd();
-echo " x ";
$root_2 = str_replace($currentdir, '', $root_1);
echo $root_2;
include('/core/config/variables.config.php');