Add setting to specify domain aliases for the froxlor-vhost (and add them to the SAN list of let's encrypt certificates if enabled)

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2019-02-21 12:54:53 +01:00
parent b187114c50
commit ef331ccc81
9 changed files with 64 additions and 3 deletions

View File

@@ -224,3 +224,12 @@ if (\Froxlor\Froxlor::isDatabaseVersion('201902120')) {
\Froxlor\Froxlor::updateToDbVersion('201902170');
}
if (\Froxlor\Froxlor::isDatabaseVersion('201902170')) {
showUpdateStep("Adding new froxlor vhost domain alias setting");
Settings::AddNew('system.froxloraliases', "");
lastStepStatus(0);
\Froxlor\Froxlor::updateToDbVersion('201902210');
}