Skip to content

Commit 6ba4fa9

Browse files
committed
- Fixed FS#3122 - Slave update asking for ISPConfig port.
1 parent 391e05c commit 6ba4fa9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

install/update.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,12 @@
364364

365365
//** Configure ISPConfig
366366
swriteln('Updating ISPConfig');
367-
367+
if($conf['apache']['installed'] == true){
368+
if(!is_file($conf['apache']['vhost_conf_dir'].'/ispconfig.vhost')) $inst->install_ispconfig_interface = false;
369+
}
370+
if($conf['nginx']['installed'] == true){
371+
if(!is_file($conf['nginx']['vhost_conf_dir'].'/ispconfig.vhost')) $inst->install_ispconfig_interface = false;
372+
}
368373

369374
if ($conf['services']['web'] && $inst->install_ispconfig_interface) {
370375
//** Customise the port ISPConfig runs on

0 commit comments

Comments
 (0)