Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1876)
+++ branches/2.8.x/CHANGELOG	(revision 1877)
@@ -11,6 +11,8 @@
 ! = Update/Change
 ===============================================================================
 
+02 Mae-2013 Build 1877 Dietmar Woellbrink (Luisehahne)
+! fix news reorg.php to be backward compatible slash settings  
 01 Mae-2013 Build 1876 Dietmar Woellbrink (Luisehahne)
 ! wysgwyg, first try to repair missing table entries
 ! page sections typofix in header
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1876)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1877)
@@ -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', '1876');
+if(!defined('REVISION')) define('REVISION', '1877');
 if(!defined('SP')) define('SP', '');
Index: branches/2.8.x/wb/modules/news/Reorg.php
===================================================================
--- branches/2.8.x/wb/modules/news/Reorg.php	(revision 1876)
+++ branches/2.8.x/wb/modules/news/Reorg.php	(revision 1877)
@@ -34,7 +34,7 @@
 
 class m_news_Reorg {
 
-	private $_aSys = array();
+	private $_oReg = array();
 /**
  * Execute reorganisation
  * @return string all occured messages 
@@ -43,10 +43,10 @@
 	{
 		$sOutput = null;
 		if(class_exists('WbAdaptor')) {
-			$this->_aSys['TablePrefix'] = WbAdaptor::getInstance()->TablePrefix;
-			$this->_aSys['AppPath'] = WbAdaptor::getInstance()->AppPath;
-			$this->_aSys['PagesDir'] = WbAdaptor::getInstance()->PagesDir;
-			$this->_aSys['PageExtension'] = WbAdaptor::getInstance()->PageExtension;
+			$this->_oReg = WbAdaptor::getInstance();
+			$sTmp = trim($this->_oReg->PagesDir, '/');
+			$sTmp = ($sTmp == '' ? '' : '/'.$sTmp);
+			$this->_oReg->PagesDir =$sTmp;
 			$sOutput = $this->createAccessFiles();
 		}
 		// add here the requests for additional reorg methods
@@ -61,14 +61,14 @@
 		$count = 0;
 		$aReturnMsg = array();
 		$sql  = 'SELECT `page_id`,`post_id`,`section_id`,`link` ';
-		$sql .= 'FROM `'.$this->_aSys['TablePrefix'].'mod_news_posts`';
+		$sql .= 'FROM `'.$this->_oReg->TablePrefix.'mod_news_posts`';
 		$sql .= 'WHERE `link` != \'\'';
 		if(($oPosts = WbDatabase::getInstance()->query($sql))) {
 			while($aPost = $oPosts->fetchRow(MYSQL_ASSOC))
 			{
-				$sAccessFile = $this->_aSys['AppPath'].$this->_aSys['PagesDir']
+				$sAccessFile = $this->_oReg->AppPath.$this->_oReg->PagesDir
 				               . trim(str_replace('\\', '/', $aPost['link']), '/')
-				               . $this->_aSys['PageExtension'];
+				               . $this->_oReg->PageExtension;
 				$aOptionalCommand = array(
 					'$section_id   = '.$aPost['section_id'].';',
 					'$post_section = '.$aPost['section_id'].';',
