Skip to content

Commit c76e0cc

Browse files
author
Marius Burkard
committed
- fixed typos from merge in previous commit
1 parent 5bf8371 commit c76e0cc

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

install/install.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,9 +553,10 @@
553553
}
554554

555555
// Create SSL certs for non-webserver(s)?
556-
if(!file_exists(/usr/local/ispconfig/interface/ssl/ispserver.crt)) {
557-
if(strtolower($inst->simple_query('Do you want to create SSL certs for your server?', array('y', 'n'), 'y')) == 'y')
556+
if(!file_exists('/usr/local/ispconfig/interface/ssl/ispserver.crt')) {
557+
if(strtolower($inst->simple_query('Do you want to create SSL certs for your server?', array('y', 'n'), 'y')) == 'y') {
558558
$inst->make_ispconfig_ssl_cert();
559+
}
559560
}
560561

561562
$inst->raiseEvent('install_ispconfig::before');

install/update.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,9 +504,10 @@
504504
}
505505

506506
// Create SSL certs for non-webserver(s)?
507-
if(!file_exists(/usr/local/ispconfig/interface/ssl/ispserver.crt)) {
508-
if(strtolower($inst->simple_query('Do you want to create SSL certs for your server?', array('y', 'n'), 'y')) == 'y')
507+
if(!file_exists('/usr/local/ispconfig/interface/ssl/ispserver.crt')) {
508+
if(strtolower($inst->simple_query('Do you want to create SSL certs for your server?', array('y', 'n'), 'y')) == 'y') {
509509
$inst->make_ispconfig_ssl_cert();
510+
}
510511
}
511512

512513
$inst->raiseEvent('install_ispconfig::before');

0 commit comments

Comments
 (0)