Index: branches/main/admin/interface/version.php
===================================================================
--- branches/main/admin/interface/version.php	(revision 18)
+++ branches/main/admin/interface/version.php	(revision 19)
@@ -43,9 +43,18 @@
 
 /* -------------------------------------------------------- */
 // Must include code to stop this file being accessed directly
-if(defined('WB_PATH') == false) { die('Illegale file access /'.basename(__DIR__).'/'.basename(__FILE__).''); }
+//if(!defined('WB_PATH')) { header("HTTP/1.0 404 Not Found"); flush(); }
 /* -------------------------------------------------------- */
-
+$sInfo = '
+    VERSION  = "2.10.1-dev"
+    REVISION = "19"
+    SP       = ""
+';
+//$aIni = parse_ini_string($sInfo);
+//foreach ($aIni as $item=>$value) {
+foreach (parse_ini_string($sInfo) as $item=>$value) {
+    if(!defined($item)) { define($item, $value); }
+}
 // check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
 if(!defined('VERSION')) { define('VERSION', '2.10.1-dev'); }
 if(!defined('REVISION')) { define('REVISION', '18'); }
Index: branches/main/modules/output_filter/filters/filterRelUrl.php
===================================================================
--- branches/main/modules/output_filter/filters/filterRelUrl.php	(revision 18)
+++ branches/main/modules/output_filter/filters/filterRelUrl.php	(revision 19)
@@ -18,7 +18,7 @@
                 '/((?:href|src|action)\s*=\s*")([^\?\"]+?)/isU',
                 function ($aMatches) use ($sAppUrl, $sAppPath, $sAppRel) {
                     $aMatches[2] = str_replace('\\', '/', $aMatches[2]);
-                    if ($aMatches[2][0] ='/') { $aMatches[2] = rtrim($sAppUrl, '/').$aMatches[2]; }
+                    if ($aMatches[2][0] =='/') { $aMatches[2] = rtrim($sAppUrl, '/').$aMatches[2]; }
                     $aMatches[2] = preg_replace('/^'.preg_quote($sAppUrl, '/').'/is', '', $aMatches[2]);
                     $aMatches[2] = preg_replace('/(\.+\/)|(\/+)/', '/', $aMatches[2]);
                     if (!is_readable($sAppPath.$aMatches[2])) {
