From c76e0cc2afb7777f85e4b572c9325b8d369c34c8 Mon Sep 17 00:00:00 2001 From: Marius Burkard Date: Wed, 2 Jan 2019 13:43:51 +0100 Subject: [PATCH] - fixed typos from merge in previous commit --- install/install.php | 5 +++-- install/update.php | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/install/install.php b/install/install.php index ae0da7e65..f99a99d9e 100644 --- a/install/install.php +++ b/install/install.php @@ -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'); diff --git a/install/update.php b/install/update.php index 8e5a1ff93..03c203d2b 100644 --- a/install/update.php +++ b/install/update.php @@ -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'); -- GitLab