Skip to content

Commit

Permalink
set version to 2.0.9
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Kaufmann <[email protected]>
  • Loading branch information
d00p committed Jan 20, 2023
1 parent 1b77632 commit 42b3f1e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions install/froxlor.sql.php
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@
('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'),
Expand Down Expand Up @@ -741,7 +741,7 @@
('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');
Expand Down
5 changes: 5 additions & 0 deletions install/updates/froxlor/update_2.x.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -372,3 +372,8 @@

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');
}
6 changes: 3 additions & 3 deletions install/updates/preconfig/preconfig_2.x.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@
}

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',
Expand All @@ -104,7 +104,7 @@
'label' => $question,
'prior_infotext' => $description,
];
//}
}
}

$preconfig['fields'] = $return;
Expand Down
2 changes: 1 addition & 1 deletion lib/Froxlor/Froxlor.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ final class Froxlor
{

// Main version variable
const VERSION = '2.0.8';
const VERSION = '2.0.9';

// Database version (YYYYMMDDC where C is a daily counter)
const DBVERSION = '202301180';
Expand Down

0 comments on commit 42b3f1e

Please sign in to comment.