do not check for possible existing certificate in case of issue for froxlor-vhost
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -233,9 +233,7 @@ class AcmeSh extends FroxlorCron
|
|||||||
");
|
");
|
||||||
$froxlor_ssl = Database::pexecute_first($froxlor_ssl_settings_stmt);
|
$froxlor_ssl = Database::pexecute_first($froxlor_ssl_settings_stmt);
|
||||||
// also check for possible existing certificate
|
// also check for possible existing certificate
|
||||||
if (($froxlor_ssl && empty($froxlor_ssl['validtodate']))
|
if (!$froxlor_ssl || empty($froxlor_ssl['validtodate'])) {
|
||||||
|| (!$froxlor_ssl && !self::checkFsFilesAreNewer(Settings::Get('system.hostname'), date('Y-m-d H:i:s')))
|
|
||||||
) {
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user