Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 2021)
+++ branches/2.8.x/CHANGELOG	(revision 2022)
@@ -11,6 +11,8 @@
 ! = Update/Change
 ===============================================================================
 
+06 Dec-2013 Build 2022 Manuela v.d.Decken(DarkViper)
+! framework/initialize.php WB will die if magic_quotes is set to 'on'
 06 Dec-2013 Build 2021 Manuela v.d.Decken(DarkViper)
 ! PageTree::_makeSql() added sort order to list of sections per page
 06 Dec-2013 Build 2020 Dietmar Woellbrink (Luisehahne)
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 2021)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 2022)
@@ -51,5 +51,5 @@
 
 // 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.8.3');
-if(!defined('REVISION')) define('REVISION', '2021');
+if(!defined('REVISION')) define('REVISION', '2022');
 if(!defined('SP')) define('SP', '');
Index: branches/2.8.x/wb/framework/initialize.php
===================================================================
--- branches/2.8.x/wb/framework/initialize.php	(revision 2021)
+++ branches/2.8.x/wb/framework/initialize.php	(revision 2022)
@@ -206,8 +206,12 @@
 	$iPhpDeclaredClasses = sizeof(get_declared_classes());
 	$sDbConnectType = 'url'; // depending from class WbDatabase it can be 'url' or 'dsn'
 // disable all kind of magic_quotes in PHP versions before 5.4 ---
-	if(version_compare(PHP_VERSION, '5.4.0', '<')) {
-		@set_magic_quotes_runtime(0);
+	if (function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) {
+		$sMsg = '<p style="color: #ff0000;">WebsiteBaker is not able to run with magic_quotes=on!!<br />'
+		      . 'Please change your PHP-ini or add a _htaccess file to switch this setting to off!<br />'
+		      . 'If you have problems to solve that, ask your hosting provider for it.<br  />'
+		      . 'The very best solution is the use of PHP-5.4 and up</p>';
+		die($sMsg);
 	}
 // load configuration ---
 	$aCfg = initReadSetupFile();
