(2010-) * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt * @package Updater * */ /** * checks if the new-version has some updating to do * * @param boolean $has_preconfig * pointer to check if any preconfig has to be output * @param string $return * pointer to output string * @param string $current_version * current froxlor version * * @return void */ function parseAndOutputPreconfig010(&$has_preconfig, &$return, $current_version, $current_db_version) { global $lng; if (versionInUpdate($current_db_version, '202004140')) { $has_preconfig = true; $description = 'Froxlor can now optionally validate the dns entries of domains that request Lets Encrypt certificates to reduce dns-related problems (e.g. freshly registered domain or updated a-record).'; $question = 'Validate DNS of domains when using Lets Encrypt'; $return['system_le_domain_dnscheck_note'] = ['type' => 'infotext', 'value' => $description]; $return['system_le_domain_dnscheck'] = ['type' => 'checkbox', 'value' => 1, 'label' => $question]; } }