set version to 2.0.9

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2023-01-20 18:01:28 +01:00
parent 1b77632fa8
commit 42b3f1e59d
4 changed files with 11 additions and 6 deletions

View File

@@ -697,7 +697,7 @@ opcache.validate_timestamps'),
('system', 'distribution', ''),
('system', 'update_channel', 'stable'),
('system', 'updatecheck_data', ''),
('system', 'update_notify_last', '2.0.8'),
('system', 'update_notify_last', '2.0.9'),
('system', 'traffictool', 'goaccess'),
('api', 'enabled', '0'),
('2fa', 'enabled', '1'),
@@ -741,7 +741,7 @@ opcache.validate_timestamps'),
('panel', 'logo_overridetheme', '0'),
('panel', 'logo_overridecustom', '0'),
('panel', 'settings_mode', '0'),
('panel', 'version', '2.0.8'),
('panel', 'version', '2.0.9'),
('panel', 'db_version', '202301180');

View File

@@ -372,3 +372,8 @@ if (Froxlor::isDatabaseVersion('202301120')) {
Froxlor::updateToDbVersion('202301180');
}
if (Froxlor::isFroxlorVersion('2.0.8')) {
Update::showUpdateStep("Updating from 2.0.8 to 2.0.9", false);
Froxlor::updateToVersion('2.0.9');
}

View File

@@ -92,9 +92,9 @@ if (Update::versionInUpdate($current_db_version, '202301120')) {
}
if (Update::versionInUpdate($current_db_version, '202301180')) {
//if ((int) Settings::Get('system.leenabled') == 1) {
if ((int) Settings::Get('system.leenabled') == 1) {
$has_preconfig = true;
$description = 'Froxlor now supports to set a external DNS resolver for the Let\'s Encrypt pre-check.';
$description = 'Froxlor now supports to set an external DNS resolver for the Let\'s Encrypt pre-check.';
$question = '<strong>Specify a DNS resolver IP (recommended value: 1.1.1.1 or similar)</strong>';
$return['system_le_domain_dnscheck_resolver'] = [
'type' => 'text',
@@ -104,7 +104,7 @@ if (Update::versionInUpdate($current_db_version, '202301180')) {
'label' => $question,
'prior_infotext' => $description,
];
//}
}
}
$preconfig['fields'] = $return;