(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 null */ function parseAndOutputPreconfig2(&$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 '; $question .= \Froxlor\UI\HTML::makeyesno('system_le_domain_dnscheck', '1', '0', '1'); eval("\$return.=\"" . \Froxlor\UI\Template::getTemplate("update/preconfigitem") . "\";"); } }