Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1981)
+++ branches/2.8.x/CHANGELOG	(revision 1982)
@@ -11,6 +11,10 @@
 ! = Update/Change
 ===============================================================================
 
+17 Oct-2013 Build 1982 Manuela v.d.Decken(DarkViper)
+# /framework/AccessFile  little Typofixes
++ /framework/AccessFileHelper added new method getDelTreeLog() and add const LOG_PRESERVE and LOG_CLEAR
+! set WbAdaptor::AppName to 'WebsiteBaker'
 10 Oct-2013 Build 1981 Dietmar Woellbrink (Luisehahne)
 # Argument that is passed to the constructor of the Access File Class has been corrected
 10 Oct-2013 Build 1980 Dietmar Woellbrink (Luisehahne)
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1981)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1982)
@@ -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', '1981');
+if(!defined('REVISION')) define('REVISION', '1982');
 if(!defined('SP')) define('SP', '');
Index: branches/2.8.x/wb/framework/WbAdaptor.php
===================================================================
--- branches/2.8.x/wb/framework/WbAdaptor.php	(revision 1981)
+++ branches/2.8.x/wb/framework/WbAdaptor.php	(revision 1982)
@@ -223,6 +223,7 @@
 		}
 		$this->_aSys['AppName'] = 'WebsiteBaker';
 		$this->_aSys['System']['AppName'] = 'WebsiteBaker';
+		$this->_aSys['Request']['AppName'] = 'WebsiteBaker';
 	}
 
 } // end of class WbAdaptor
Index: branches/2.8.x/wb/framework/AccessFileHelper.php
===================================================================
--- branches/2.8.x/wb/framework/AccessFileHelper.php	(revision 1981)
+++ branches/2.8.x/wb/framework/AccessFileHelper.php	(revision 1982)
@@ -44,6 +44,14 @@
  */
 	const DEL_ROOT_DELETE   = 1;
 /**
+ * clear logs
+ */
+	const LOG_CLEAR = true;
+/**
+ * preserve logs
+ */
+	const LOG_PRESERVE = false;
+/**
  * to store the last delTree log
  */
 	static $aDelTreeLog = array();
@@ -131,11 +139,14 @@
 	}
 /**
  * returns the log of the last delTree request
+ * @param  bool  $bClearLog   TRUE clears the log after request, FALSE preserve the log
  * @return array
  */
-	static function getDelTreeLog()
+	static function getDelTreeLog($bClearLog = self::LOG_CLEAR)
 	{
-		return self::$aDelTreeLog;
+		$aRetval = self::$aDelTreeLog;
+		if($bClearLog) { self::$aDelTreeLog = array(); }
+		return $aRetval;
 	}
 
 } // end of class AccessFileHelper
Index: branches/2.8.x/wb/framework/AccessFile.php
===================================================================
--- branches/2.8.x/wb/framework/AccessFile.php	(revision 1981)
+++ branches/2.8.x/wb/framework/AccessFile.php	(revision 1982)
@@ -102,10 +102,10 @@
 		}
 	}
 
-	/**
-	 * Write the accessfile
-	 * @throws AccessFileException
-	 */
+/**
+ * Write the accessfile
+ * @throws AccessFileException
+ */
 	public function write() 
 	{
 		// remove AppPath from File for use in error messages
@@ -146,7 +146,6 @@
 		// prepare old/new file-/dirname
 		$sOldFilename   = $this->_sFileName;
 		$sOldSubDirname = dirname($sOldFilename) . '/';
-		$sBaseDirname   = dirname($sOldSubDirname) . '/';
 		$sPattern = '/^(' . preg_quote($sOldSubDirname, '/') . ')([^\/\.]+?)(\.[a-z0-9]+)$/siU';
 		$sNewFilename = preg_replace($sPattern, '\1' . $sNewName . '\3', $sOldFilename);
 		$sNewSubDirname = dirname($sNewFilename) . '/';
