Index: /lib/filter_functions.inc.php
===================================================================
--- /lib/filter_functions.inc.php	(revision 6517)
+++ /lib/filter_functions.inc.php	(revision 6518)
@@ -213,41 +213,4 @@
 	function wpsg_install($version = false) 
 	{
-
-		// Installation bei zu kleiner PHP Version verhindern
-		if (version_compare(phpversion(), '5.4', '<'))
-		{
-			
-			deactivate_plugins(basename(dirname(__FILE__).'/../wpshopgermany.php'));
-			
-			wp_die(
-				'<p><strong>Ihre PHP Version ('.phpversion().') ist nicht kompatibel mit wpShopGermany.</strong></p>'.
-				'<p>wpShopGermany benÃ¶tigt mindestens PHP 5.4.</p>'.
-				'<ul>'.
-				'<li><a href="http://wpshopgermany.maennchen1.de/'.WPSG_FOLDERNAME.'/about/systemanforderungen/">Systemvoraussetzungen</a></li>'.
-				'<li><a href="http://forum.maennchen1.de">Kostenloser Support</a></li>'.				
-				'</ul>',
-				'Plugin konnte nicht aktiviert werden.',  
-				array( 
-					'response' => 200, 
-					'back_link' => true
-				) 
-			);
-			
-		}
-		
-		// Standardeinstellungen
-		if ($GLOBALS['wpsg_sc']->get_option('wpsg_currency') === false) $GLOBALS['wpsg_sc']->update_option('wpsg_currency', 'EUR');
-		if ($GLOBALS['wpsg_sc']->get_option('wpsg_produkte_perpage') === false) $GLOBALS['wpsg_sc']->update_option('wpsg_produkte_perpage', '25');
-		if ($GLOBALS['wpsg_sc']->get_option('wpsg_order_perpage') === false) $GLOBALS['wpsg_sc']->update_option('wpsg_order_perpage', '25');
-		if ($GLOBALS['wpsg_sc']->get_option('wpsg_load_jquery') === false) $GLOBALS['wpsg_sc']->update_option('wpsg_load_jquery', '1');		
-		if ($GLOBALS['wpsg_sc']->get_option('wpsg_load_thickbox_js') === false) $GLOBALS['wpsg_sc']->update_option('wpsg_load_thickbox_js', '1');
-		if ($GLOBALS['wpsg_sc']->get_option('wpsg_load_thickbox_css') === false) $GLOBALS['wpsg_sc']->update_option('wpsg_load_thickbox_css', '1');
-		if ($GLOBALS['wpsg_sc']->get_option('wpsg_format_knr') === false) $GLOBALS['wpsg_sc']->update_option('wpsg_format_knr', '%kid%');
-		if ($GLOBALS['wpsg_sc']->get_option('wpsg_customer_start') === false) $GLOBALS['wpsg_sc']->update_option('wpsg_customer_start', '1');
-		if ($GLOBALS['wpsg_sc']->get_option('wpsg_format_onr') === false) $GLOBALS['wpsg_sc']->update_option('wpsg_format_onr', '%oid%');
-		if ($GLOBALS['wpsg_sc']->get_option('wpsg_order_start') === false) $GLOBALS['wpsg_sc']->update_option('wpsg_order_start', '%kid%');
-		$GLOBALS['wpsg_sc']->checkDefault('wpsg_form_validation', '1');
-		$GLOBALS['wpsg_sc']->checkDefault('wpsg_load_validierung_js', '1');
-		$GLOBALS['wpsg_sc']->checkDefault('wpsg_load_validierung_css', '1');
 		
 		include WPSG_PATH.'/lib/install.php';
@@ -654,5 +617,5 @@
 	 * Funktion, die nach dem Update aufgerufen wird um die Dateien wieder an die richtige Stelle zu schieben
 	 */
-	function wpsg_post_install()
+	function wpsg_post_install($arg1, $arg2)
 	{
 		
@@ -661,5 +624,10 @@
 		$wpsg_update_data = wpsg_get_update_data();
 		     
-		mail("daniel@maennchen1.de", "TEST", print_r($_REQUEST, 1).print_r($wpsg_update_data, 1));
+		ob_start();
+		var_dump($arg1); var_dump($arg2);
+		$content = ob_get_contents();
+		ob_end_clean(); 
+		   
+		mail("daniel@maennchen1.de", "TEST", print_r($_REQUEST, 1).print_r($wpsg_update_data, 1).":".$content);
 		if ($_REQUEST['plugin'] != WPSG_FOLDERNAME.'/wpshopgermany.php') return;
 		
@@ -732,5 +700,5 @@
 		$GLOBALS['wpsg_sc']->loadModule();
 		
-		//wpsg_install(trim($remote_version));
+		wpsg_install(trim($wpsg_update_data['updateData']->));
 		
 	} // function wpsg_post_install()
