summaryrefslogtreecommitdiffstats
path: root/wizard/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'wizard/index.php')
-rw-r--r--wizard/index.php8
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)) {