rpicms

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

commit bfe16e56b731a40f511aae58ac427a4e378f678f
parent 0b7174dbcbc8ea4bc947e5ac22ce803c012ecd92
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 13 Dec 2014 20:15:55 +0100

new try

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 @@ -7,7 +7,7 @@ $root_1 = realpath($_SERVER["DOCUMENT_ROOT"]); $currentdir = getcwd(); $root_2 = str_replace($root_1, '', $currentdir); echo $root_2; -$root = preg_match('//(.*/)\./s', $root_2); +$root = preg_match('~/(.*?)]/', $root_2); echo " x "; echo $root; include('/core/config/variables.config.php');