Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1704)
+++ branches/2.8.x/CHANGELOG	(revision 1705)
@@ -13,6 +13,9 @@
 
 
 
+27 Aug-2012 Build 1705 Dietmar Woellbrink (Luisehahne)
+! update headerinfo
+! change os_version request if os is not windows
 27 Aug-2012 Build 1704 Dietmar Woellbrink (Luisehahne)
 + add overlib_mini.js to include/jquery/ will be needed for help
 27 Aug-2012 Build 1703 Dietmar Woellbrink (Luisehahne)
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1704)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1705)
@@ -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', '1704');
+if(!defined('REVISION')) define('REVISION', '1705');
 if(!defined('SP')) define('SP', '');
Index: branches/2.8.x/wb/framework/functions.php
===================================================================
--- branches/2.8.x/wb/framework/functions.php	(revision 1704)
+++ branches/2.8.x/wb/framework/functions.php	(revision 1705)
@@ -3,9 +3,8 @@
  *
  * @category        frontend
  * @package         framework
- * @author          WebsiteBaker Project
- * @copyright       2004-2009, Ryan Djurovich
- * @copyright       2009-2011, Website Baker Org. e.V.
+ * @author          Ryan Djurovich,WebsiteBaker Project
+ * @copyright       2009-2012, WebsiteBaker Org. e.V.
  * @link			http://www.websitebaker2.org/
  * @license         http://www.gnu.org/licenses/gpl.html
  * @platform        WebsiteBaker 2.8.x
@@ -427,7 +426,7 @@
 {
 	$bRetval = true;
 	$iMode = intval($iMode) & 0777; // sanitize value
-	if((substr(__FILE__, 0, 1)) == '/')
+	if (strtoupper(substr(PHP_OS, 0, 3)) !== 'WIN')
 	{ // Only chmod if os is not windows
 		$bRetval = false;
 		if(!$iMode) {
@@ -1322,4 +1321,4 @@
 	    $replacements = array('!', '*', "'", "(", ")", ";", ":", "@", "&", "=", "+", "$", ",", "/", "?", "%", "#", "[", "]");
 	    return str_replace($entities,$replacements, rawurlencode($string));
 	}
-}
\ No newline at end of file
+}
