diff options
author | Remi Collet <remi@remirepo.net> | 2022-08-30 08:36:42 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2022-08-30 08:36:42 +0200 |
commit | a3e3a8bb49c327b321ae2901c1be9e6cdef3b240 (patch) | |
tree | 999931b27bd57875ae47d08517233726293b056d /wizard/index.php | |
parent | 13d7a4deeb6bfce7fa386b6bfe37b721a4825edb (diff) |
Wizard: enable EL-7 EOL warning
Diffstat (limited to 'wizard/index.php')
-rw-r--r-- | wizard/index.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/wizard/index.php b/wizard/index.php index 960651a4..255abfc1 100644 --- a/wizard/index.php +++ b/wizard/index.php @@ -199,16 +199,16 @@ $counter = intval(@file_get_contents(COUNTER)); $err = false; if ($os) { list($dist, $ver) = explode(' ', $os, 2); - if ($ver == 6) { + if ($ver == 7) { $days = (int)((mktime(0,0,0,6,30,2024) - time()) / (60 * 60 * 24)); $weeks = round($days/7); $months = round($days/30); if ($months >= 6) { - printf("<li><b>WARNING: %s</b> will reach its <b>end of life</b> in November 2020, in <b>$months months</b>, upgrade is heartily recommended.</li><br />", $os); + printf("<li><b>WARNING: %s</b> will reach its <b>end of life</b> in June 2024, in <b>$months months</b>, upgrade is heartily recommended.</li><br />", $os); } else if ($weeks >= 8) { - printf("<li><b>WARNING: %s</b> will reach its <b>end of life</b> in November 2020, in <b>$weeks weeks</b>, upgrade is strongly recommended.</li><br />", $os); + printf("<li><b>WARNING: %s</b> will reach its <b>end of life</b> in June 2024, in <b>$weeks weeks</b>, upgrade is strongly recommended.</li><br />", $os); } else { - printf("<li><b>WARNING: %s</b> will reach its <b>end of life</b> in November 2020, in <b>$days days</b>, upgrade is urgently recommended.</li><br />", $os); + printf("<li><b>WARNING: %s</b> will reach its <b>end of life</b> in June 2024, in <b>$days days</b>, upgrade is urgently recommended.</li><br />", $os); } } if (($dist == 'Fedora' && $ver<=FC_EOL) || ($dist != 'Fedora' && $ver<=EL_EOL)) { |