commit 2d3f3221451631e3c9fe95fd6271c3a2d3ea4553
parent 9b516fd060b1675647c9107104e5063136ea9f79
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 13 Dec 2014 20:30:42 +0100
:/
Diffstat:
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 ";
echo $root[0];
include('/core/config/variables.config.php');