From 5cff6bc5c22dd39c2f7825fd3dac3117926d3cfd Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Mon, 07 Nov 2011 16:43:38 -0500
Subject: [PATCH] - Better fix for update problem from old versions.

---
 install/autoupdate.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/install/autoupdate.php b/install/autoupdate.php
index 8022882..e3fa094 100644
--- a/install/autoupdate.php
+++ b/install/autoupdate.php
@@ -80,7 +80,7 @@
 if($dist['id'] == '') die('Linux distribution or version not recognized.');
 
 //** Check version
-if(compare_ispconfig_version('3.0.3',ISPC_APP_VERSION) < 0) die("This updater is for ISPConfig versions > 3.0.3.0. Please Update to ISPConfig 3.0.3.3 first before you update to the current ISPConfig version.\n");
+// if(compare_ispconfig_version('3.0.3',ISPC_APP_VERSION) < 0) die("This updater is for ISPConfig versions > 3.0.3.0. Please Update to ISPConfig 3.0.3.3 first before you update to the current ISPConfig version.\n");
 
 
 //** Include the distribution-specific installer class library and configuration
@@ -160,7 +160,7 @@
 
 //* initialize the database
 $inst->db = new db();
-$inst->db->dbName = $conf["mysql"]["database"];
+// $inst->db->dbName = $conf["mysql"]["database"];
 
 /*
  * The next line is a bit tricky!

--
Gitblit v1.9.1