From 6ba4fa90f4f80de2206ef6163c54b1be5ef462f5 Mon Sep 17 00:00:00 2001
From: Falko Timme <ft@falkotimme.com>
Date: Tue, 22 Oct 2013 13:43:19 -0400
Subject: [PATCH] - Fixed FS#3122 - Slave update asking for ISPConfig port.

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

diff --git a/install/update.php b/install/update.php
index 1ed9419..e5bcfb6 100644
--- a/install/update.php
+++ b/install/update.php
@@ -364,7 +364,12 @@
 
 //** Configure ISPConfig
 swriteln('Updating ISPConfig');
-
+if($conf['apache']['installed'] == true){
+	if(!is_file($conf['apache']['vhost_conf_dir'].'/ispconfig.vhost')) $inst->install_ispconfig_interface = false;
+}
+if($conf['nginx']['installed'] == true){
+	if(!is_file($conf['nginx']['vhost_conf_dir'].'/ispconfig.vhost')) $inst->install_ispconfig_interface = false;
+}
 
 if ($conf['services']['web'] && $inst->install_ispconfig_interface) {
 	//** Customise the port ISPConfig runs on

--
Gitblit v1.9.1