Skip to content

Commit 27e0c32

Browse files
committed
Update install.php to fix the condition for non-webservers to check for ispserver.crt file instead of whether apache or nginx is installed since apache might be installed together with mailman.
1 parent b30aaaf commit 27e0c32

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

install/install.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -598,10 +598,9 @@
598598
}
599599

600600
// Create SSL certs for non-webserver(s)?
601-
if(($conf['apache']['installed'] && $conf['apache']['installed']) == false) {
602-
if(strtolower($inst->simple_query('Do you want to create SSL certs for your server?', array('y', 'n'), 'y')) == 'y') {
601+
if(!file_exists(/usr/local/ispconfig/interface/ssl/ispserver.crt)) {
602+
if(strtolower($inst->simple_query('Do you want to create SSL certs for your server?', array('y', 'n'), 'y')) == 'y')
603603
$inst->make_ispconfig_ssl_cert();
604-
}
605604
}
606605

607606
$inst->install_ispconfig();

0 commit comments

Comments
 (0)