From 6ba4fa90f4f80de2206ef6163c54b1be5ef462f5 Mon Sep 17 00:00:00 2001 From: Falko Timme Date: Tue, 22 Oct 2013 19:43:19 +0200 Subject: [PATCH] - Fixed FS#3122 - Slave update asking for ISPConfig port. --- install/update.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/install/update.php b/install/update.php index 1ed9419b6..e5bcfb672 100644 --- a/install/update.php +++ b/install/update.php @@ -364,7 +364,12 @@ if($reconfigure_services_answer == 'yes') { //** 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 -- GitLab