commit da7c63dbf236872961ee2a55e62d5e34a1f084c6
parent bfe16e56b731a40f511aae58ac427a4e378f678f
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 13 Dec 2014 20:16:47 +0100
fix missing character
Diffstat:
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('~/(.*?)]/', $root_2);
+$root = preg_match('~/(.*?)]/~', $root_2);
echo " x ";
echo $root;
include('/core/config/variables.config.php');