dns: make mail address of SOA records configurable

This commit is contained in:
Daniel Reichelt
2021-02-20 20:01:04 +01:00
committed by Daniel Reichelt
parent 5a6343b47c
commit a1b8807b0f
7 changed files with 31 additions and 3 deletions

View File

@@ -674,6 +674,7 @@ opcache.interned_strings_buffer'),
('system', 'apply_phpconfigs_default', '1'),
('system', 'hide_incompatible_settings', '0'),
('system', 'include_default_vhostconf', '0'),
('system', 'soaemail', ''),
('api', 'enabled', '0'),
('2fa', 'enabled', '1'),
('panel', 'decimal_places', '4'),
@@ -709,7 +710,7 @@ opcache.interned_strings_buffer'),
('panel', 'customer_hide_options', ''),
('panel', 'is_configured', '0'),
('panel', 'version', '0.10.24'),
('panel', 'db_version', '202101200');
('panel', 'db_version', '202102200');
DROP TABLE IF EXISTS `panel_tasks`;

View File

@@ -725,3 +725,12 @@ if (\Froxlor\Froxlor::isFroxlorVersion('0.10.23.1')) {
showUpdateStep("Updating from 0.10.23.1 to 0.10.24", false);
\Froxlor\Froxlor::updateToVersion('0.10.24');
}
if (\Froxlor\Froxlor::isDatabaseVersion('202101200')) {
showUpdateStep("Adding setting for mail address used in SOA records", true);
Settings::AddNew("system.soaemail", '');
lastStepStatus(0);
\Froxlor\Froxlor::updateToDbVersion('202102200');
}