rpicms

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

commit c8ffbaced94813c34d9d113512d35d08f8ab376b
parent 4eccee748b055a3332ed49060d42437cb85d8f73
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 13 Dec 2014 20:34:32 +0100

why is it a double array??

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');