Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1449)
+++ branches/2.8.x/CHANGELOG	(revision 1450)
@@ -11,6 +11,8 @@
 ! = Update/Change
 
 ------------------------------------- 2.8.2 -------------------------------------
+22 May-2011 Build 1450 Werner v.d.Decken(DarkViper)
+# small fix at calling of moveCssToHead() in /index.php
 07 May-2011 Build 1449 Werner v.d.Decken(DarkViper)
 ! cleanup some code in edit_module_files.php
 07 May-2011 Build 1448 Dietmar Woellbrink (Luisehahne)
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1449)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1450)
@@ -52,6 +52,6 @@
 
 // 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.2.RC5');
-if(!defined('REVISION')) define('REVISION', '1449');
+if(!defined('REVISION')) define('REVISION', '1450');
 
 ?>
Index: branches/2.8.x/wb/index.php
===================================================================
--- branches/2.8.x/wb/index.php	(revision 1449)
+++ branches/2.8.x/wb/index.php	(revision 1450)
@@ -27,17 +27,19 @@
 }
 
 // Check if the config file has been set-up
-if(!defined('WB_PATH'))
+if(!defined('TABLE_PREFIX'))
 {
 /*
- * Anmerkung:  HTTP/1.1 verlangt einen absoluten URI inklusive dem Schema,
- * Hostnamen und absoluten Pfad als Argument von Location:, manche aber nicht alle
- * Clients akzeptieren jedoch auch relative URIs.
+ * Remark:  HTTP/1.1 requires a qualified URI incl. the scheme, name
+ * of the host and absolute path as the argument of location. Some, but
+ * not all clients will accept relative URIs also.
  */
 	$host       = $_SERVER['HTTP_HOST'];
 	$uri        = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
 	$file       = 'install/index.php';
 	$target_url = 'http://'.$host.$uri.'/'.$file;
+	$sResponse  = $_SERVER['SERVER_PROTOCOL'].' 307 Temporary Redirect';
+	header($sResponse);
 	header('Location: '.$target_url);
 	exit;	// make sure that subsequent code will not be executed
 }
@@ -145,9 +147,11 @@
         $output = filter_frontend_output($output);
     }
 }
-
 // move css definitions into head section
-$output = moveCssToHead($output);
+if(function_exists('moveCssToHead')) {
+	$output = moveCssToHead($output);
+}
+// now send complete page to the browser
 echo $output;
 // end of wb-script
 exit;
