diff --git a/htdocs/install/step2.php b/htdocs/install/step2.php index f95cb218561..9754ae78762 100644 --- a/htdocs/install/step2.php +++ b/htdocs/install/step2.php @@ -571,7 +571,7 @@ dolibarr_install_syslog("Exit ".$ret); dolibarr_install_syslog("- step2: end"); -$out = ' '; +$out = 'global->MAIN_FIRST_PING_OK_ID) && $conf->global->MAIN_FIRST_PING_OK_ID == 'disabled') ? '' : ' value="checked" checked="true"').'> '; $out .= ''; $out .= ''; diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 07ab0949a10..a588937e2bf 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -3214,7 +3214,7 @@ if (!function_exists("llxFooter")) { print "\n\n"; } elseif (empty($_COOKIE['DOLINSTALLNOPING_'.$hash_unique_id]) || $forceping) { // Cookie is set when we uncheck the checkbox in the installation wizard. // MAIN_LAST_PING_KO_DATE - // Disable ping if MAIN_LAST_PING_KO_DATE is set and is recent + // Disable ping if MAIN_LAST_PING_KO_DATE is set and is recent (this month) if (!empty($conf->global->MAIN_LAST_PING_KO_DATE) && substr($conf->global->MAIN_LAST_PING_KO_DATE, 0, 6) == dol_print_date(dol_now(), '%Y%m') && !$forceping) { print "\n\n"; } else {