rpicms

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

commit 471f19f5642691fde674fd59d46653a888c3bdec
parent d38f82f11dc337a63b32eca7625859b9624a7892
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 13 Dec 2014 20:58:14 +0100

again I failed

Diffstat:
Mthemes/jumbotron/index.php | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php @@ -64,7 +64,13 @@ } // AND SO ON ................. } - +############################### +# include files from root dir # +############################### +$root_1 = realpath($_SERVER["DOCUMENT_ROOT"]); +$currentdir = getcwd(); +$root_2 = str_replace($root_1, '', $currentdir); +$root = explode("/", $root_2); ?> <!DOCTYPE html> <html lang="en">