summaryrefslogtreecommitdiffstats
path: root/wizard
diff options
context:
space:
mode:
Diffstat (limited to 'wizard')
-rw-r--r--wizard/index.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/wizard/index.php b/wizard/index.php
index 17b33ccf..5523cc19 100644
--- a/wizard/index.php
+++ b/wizard/index.php
@@ -228,10 +228,10 @@ if ($os) {
printf("<li><img src='notice.png'> <b>WARNING: %s</b> is a <b>development</b> version, not ready for production.</li><br />", $os);
} else if ($ver == 7 || $ver == 38 || ($dist=="CentOS" && $ver == 8)) {
- if ($ver == 38) $days = mktime(0,0,0,5,21,2024);
- else if ($ver == 9) $days = mktime(0,0,0,5,31,2027);
- else if ($ver == 8) $days = mktime(0,0,0,5,31,2024);
- else /* 7 */ $days = mktime(0,0,0,6,30,2024);
+ if ($ver == 38) $days = mktime(0, 0, 0, 5, 21, 2024);
+ else if ($ver == 9) $days = mktime(0, 0, 0, 5, 31, $dist=="CentOS" ? 2027 : 2032);
+ else if ($ver == 8) $days = mktime(0, 0, 0, 5, 31, $dist=="CentOS" ? 2024 : 2029);
+ else if ($ver == 7) $days = mktime(0, 0, 0, 6, 30, 2024);
$eol = date("F Y", $days);
$days = (int)(($days - time()) / (60 * 60 * 24));
$weeks = round($days/7);