commit 75fd61fe61db9542bc460b199f72caeb39c0bf0d
parent fd58d7965091ea0eda8f9da88ca7f0b788d8c733
Author: MTRNord <mtrnord1@gmail.com>
Date: Sun, 14 Dec 2014 10:55:22 +0100
it is right... but it don't work
Diffstat:
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php
@@ -9,14 +9,10 @@
# include files from root dir #
###############################
$root_1 = realpath($_SERVER["DOCUMENT_ROOT"]);
-echo "$root_1\n";
$currentdir = getcwd();
-echo "$currentdir\n";
$root_2 = str_replace($root_1, '', $currentdir);
-echo "$root_2\n";
$root_3 = explode("/", $root_2);
-print_r($root_3);
-if ($root_3[1] = "core") {
+if ($root_3[1] = 'core') {
echo $root_3[1];
$root = realpath($_SERVER["DOCUMENT_ROOT"]);
}else{