rpicms

A CMS for the Raspberry Pi
git clone git://archive.git.mtrnord.blog/RpicmsTeam/rpicms.git
Log | Files | Refs | README | LICENSE

commit 144edf2d92006a955161bd1b1e35c4e7b90dcce5
parent cc9f0b4c7e93c6454e1b41416f2f11e22d9de012
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 14 Dec 2014 10:46:37 +0100

some debugcode

Diffstat:
Mthemes/jumbotron/index.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php @@ -71,12 +71,12 @@ $root_1 = realpath($_SERVER["DOCUMENT_ROOT"]); $currentdir = getcwd(); $root_2 = str_replace($root_1, '', $currentdir); $root_3 = explode("/", $root_2); +print_r($root_3); if ($root_3[1] = "core" or $root_3[1] = "themes" or $root_3[1] = "install") { $root = realpath($_SERVER["DOCUMENT_ROOT"]); }else{ $root = $root_1 . '/' . $root_3[1]; } -print_r($root_3); ?> <!DOCTYPE html> <html lang="en">