rpicms

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

commit 4444bdc37e457cb97e7d748a09ea64e18c778edf
parent c8ffbaced94813c34d9d113512d35d08f8ab376b
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 13 Dec 2014 20:35:33 +0100

php is trolling me....

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

diff --git a/core/backend/admin/blog/newpost.php b/core/backend/admin/blog/newpost.php @@ -8,7 +8,7 @@ $currentdir = getcwd(); $root_2 = str_replace($root_1, '', $currentdir); echo $root_2; #$root_3 = preg_match('~/(.*?)]/~', $root_2, $root); -preg_match_all("/\/(?!\/)*)/s", $root_2, $root); +preg_match_all("//((?!/)*)/s", $root_2, $root); echo " x "; print_r($root); include('/core/config/variables.config.php');