From 0bdf6b8e4ef55ff1508dc63bbc0302c9dc3c0eae Mon Sep 17 00:00:00 2001
From: moglia <moglia@ispconfig3>
Date: Mon, 10 Aug 2009 10:27:53 -0400
Subject: [PATCH] Back to original content of 710 revision. Use phpmyadmin at the same host of ispconfig can be compromise server if have any bugs on phpmyadmin. Reported by till on forum.
---
server/scripts/ispconfig_update.php | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/server/scripts/ispconfig_update.php b/server/scripts/ispconfig_update.php
index f18963f..f7615e1 100644
--- a/server/scripts/ispconfig_update.php
+++ b/server/scripts/ispconfig_update.php
@@ -95,11 +95,13 @@
$new_version = trim($new_version);
if($new_version != ISPC_APP_VERSION) {
passthru('/usr/local/ispconfig/server/scripts/update_from_tgz.sh');
+ exit;
} else {
echo "There are no updates available for ISPConfig ".ISPC_APP_VERSION."\n";
}
} else {
passthru('/usr/local/ispconfig/server/scripts/update_from_svn.sh');
+ exit;
}
--
Gitblit v1.9.1