Commit c76e0cc2 authored by Marius Burkard's avatar Marius Burkard

- fixed typos from merge in previous commit

parent 5bf8371d
......@@ -553,9 +553,10 @@ if($install_mode == 'standard' || strtolower($inst->simple_query('Install ISPCon
}
// Create SSL certs for non-webserver(s)?
if(!file_exists(/usr/local/ispconfig/interface/ssl/ispserver.crt)) {
if(strtolower($inst->simple_query('Do you want to create SSL certs for your server?', array('y', 'n'), 'y')) == 'y')
if(!file_exists('/usr/local/ispconfig/interface/ssl/ispserver.crt')) {
if(strtolower($inst->simple_query('Do you want to create SSL certs for your server?', array('y', 'n'), 'y')) == 'y') {
$inst->make_ispconfig_ssl_cert();
}
}
$inst->raiseEvent('install_ispconfig::before');
......
......@@ -504,9 +504,10 @@ if ($inst->install_ispconfig_interface) {
}
// Create SSL certs for non-webserver(s)?
if(!file_exists(/usr/local/ispconfig/interface/ssl/ispserver.crt)) {
if(strtolower($inst->simple_query('Do you want to create SSL certs for your server?', array('y', 'n'), 'y')) == 'y')
if(!file_exists('/usr/local/ispconfig/interface/ssl/ispserver.crt')) {
if(strtolower($inst->simple_query('Do you want to create SSL certs for your server?', array('y', 'n'), 'y')) == 'y') {
$inst->make_ispconfig_ssl_cert();
}
}
$inst->raiseEvent('install_ispconfig::before');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment