rpicms

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

commit 3ac6c9f1d7ff26ffbb536f44a69145448351930c
parent b056d3654d3e913010db837bbba8046b00be7ab3
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 13 Dec 2014 20:24:19 +0100

wrong string :D

Diffstat:
Mcore/backend/admin/blog/newpost.php | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/core/backend/admin/blog/newpost.php b/core/backend/admin/blog/newpost.php @@ -8,7 +8,6 @@ $currentdir = getcwd(); $root_2 = str_replace($root_1, '', $currentdir); echo $root_2; #$root_3 = preg_match('~/(.*?)]/~', $root_2, $root); -$String = [modid=256]; $First = "/"; $Second = "/"; @@ -16,7 +15,7 @@ $Second = "/"; $Firstpos=strpos($String, $First); $Secondpos=strpos($String, $Second); -$root = substr($String , $Firstpos, $Secondpos); +$root = substr($root_2 , $Firstpos, $Secondpos); echo " x "; echo $root; include('/core/config/variables.config.php');