From f9318304dc8b00dfd0a3759a8aece7725865db32 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Mon, 07 Nov 2011 16:06:24 -0500
Subject: [PATCH] - Added version check to autoupdate script. - Added some default values for nginx in the web_domain_update function of the remote api. - Fixed a php warning in the updater.

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

diff --git a/install/update.php b/install/update.php
index e7f9d07..091c262 100644
--- a/install/update.php
+++ b/install/update.php
@@ -79,7 +79,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.');
+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
 if(is_file('dist/lib/'.$dist['baseid'].'.lib.php')) include_once('dist/lib/'.$dist['baseid'].'.lib.php');

--
Gitblit v1.9.1