diff options
Diffstat (limited to 'wizard/index.php')
-rw-r--r-- | wizard/index.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wizard/index.php b/wizard/index.php index 3a817621..9cc36026 100644 --- a/wizard/index.php +++ b/wizard/index.php @@ -166,7 +166,8 @@ $err = false; if ($os) { list($dist, $ver) = explode(' ', $os, 2); if ($ver == 6) { - printf("<li><b>%s</b> will reach its <b>end of life</b> in Nov 2020, upgrade is strongly recommended.</li><br />", $os); + $days = (int)((mktime(0,0,0,11,30,2020) - time()) / (60 * 60 * 24)); + printf("<li><b>WARNING: %s</b> will reach its <b>end of life</b> in November 2020, in <b>$days days</b>, upgrade is strongly recommended.</li><br />", $os); } if (($dist == 'Fedora' && $ver<=FC_EOL) || ($dist != 'Fedora' && $ver<=EL_EOL)) { printf("<li><b>%s</b> have reached its <b>end of life</b>, upgrade is strongly recommended.</li><br />", $os); |