Skip to content

Commit 71aeb3b

Browse files
author
Marius Burkard
committed
- fixed early unset of domains for LE
1 parent bba7b07 commit 71aeb3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/lib/classes/letsencrypt.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,6 @@ public function request_certificates($data, $server_type = 'apache') {
257257
// unset useless data
258258
unset($subdomains);
259259
unset($aliasdomains);
260-
unset($temp_domains);
261260

262261
$letsencrypt_cmd = '';
263262
$success = false;
@@ -274,6 +273,7 @@ public function request_certificates($data, $server_type = 'apache') {
274273
}
275274

276275
$le_files = $this->get_letsencrypt_certificate_paths($temp_domains);
276+
unset($temp_domains);
277277

278278
if($server_type != 'apache' || version_compare($app->system->getapacheversion(true), '2.4.8', '>=')) {
279279
$crt_tmp_file = $le_files['fullchain'];

0 commit comments

Comments
 (0)