commit ed9da774977431bd233b0675ce869540b8e18219
parent f60cc9c418cdbd10dfe36c4d5292e6dc5e6a1f6a
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 13 Dec 2014 19:50:52 +0100
fixed wrong variable
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/core/backend/admin/blog/newpost.php b/core/backend/admin/blog/newpost.php
@@ -1,9 +1,8 @@
<?php
$root_1 = realpath($_SERVER["DOCUMENT_ROOT"]);
$currentdir = getcwd();
-$root_2 = trim($currentdir, $root);
+$root_2 = trim($currentdir, $root_1);
echo $root_2;
-echo get_include_path();
include('/core/config/variables.config.php');
################