Skip to content

Commit 2482e0e

Browse files
committed
Undefined variable $issued_successfully
1 parent 1781337 commit 2482e0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/lib/installer_base.lib.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3047,6 +3047,8 @@ public function make_ispconfig_ssl_cert() {
30473047
$crt_issuer = exec("openssl x509 -in ".escapeshellarg($ssl_crt_file)." -inform PEM -noout -issuer");
30483048
}
30493049

3050+
$issued_successfully = false;
3051+
30503052
if ((@file_exists($ssl_crt_file) && ($crt_subject == $crt_issuer)) || (!@is_dir($acme_cert_dir) || !@file_exists($check_acme_file) || !@file_exists($ssl_crt_file) || md5_file($check_acme_file) != md5_file($ssl_crt_file)) && $ip_address_match == true) {
30513053

30523054
// This script is needed earlier to check and open http port 80 or standalone might fail
@@ -3145,8 +3147,6 @@ public function make_ispconfig_ssl_cert() {
31453147
}
31463148
}
31473149

3148-
$issued_successfully = false;
3149-
31503150
// Backup existing ispserver ssl files
31513151
//
31523152
// We may find valid or broken symlinks or actual files here.

0 commit comments

Comments
 (0)