Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1737)
+++ branches/2.8.x/CHANGELOG	(revision 1738)
@@ -13,6 +13,8 @@
 
 
 
+05 Sep-2012 Build 1738 Dietmar Woellbrink (Luisehahne)
+! remove folder structure in zip file for backup droplets
 05 Sep-2012 Build 1737 Dietmar Woellbrink (Luisehahne)
 # fixed sql statement groups_added in settings
 ! set stored passwords in $session to empty string
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1737)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1738)
@@ -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', '1737');
+if(!defined('REVISION')) define('REVISION', '1738');
 if(!defined('SP')) define('SP', '');
Index: branches/2.8.x/wb/modules/droplets/backup_droplets.php
===================================================================
--- branches/2.8.x/wb/modules/droplets/backup_droplets.php	(revision 1737)
+++ branches/2.8.x/wb/modules/droplets/backup_droplets.php	(revision 1738)
@@ -72,7 +72,7 @@
 
 	$query_droplets = $database->query($sql);
 	while($droplet = $query_droplets->fetchRow()) {
-		echo 'Saving: /temp/droplets/'.$droplet["name"].'.php';
+		echo 'Saving: '.$droplet["name"].'.php';
 		$sFile = $droplet["name"].'.php';
 		if($fh = fopen(WB_PATH.$temp_dir.$sFile, 'w'))
 		{
@@ -93,7 +93,7 @@
 require_once(WB_PATH.'/include/pclzip/pclzip.lib.php');
 $archive = new PclZip(WB_PATH.$temp_file);
 
-$file_list = $archive->create($sFilesToZip , PCLZIP_OPT_ADD_PATH, WB_PATH.$temp_dir );
+$file_list = $archive->create($sFilesToZip , PCLZIP_OPT_REMOVE_ALL_PATH );
 if ($file_list == 0){
 	echo "Packaging error: '.$archive->errorInfo(true).'";
 	die("Error : ".$archive->errorInfo(true));
