diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-09-11 09:04:29 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-09-11 09:04:29 +0200 |
commit | ab7a60bd77687b436ecec6a99e7565b46a406cb5 (patch) | |
tree | f0d48569184b121bcfe4223023194497fe9fee47 /wizard/index.php | |
parent | 8bedf7aaacb3d417c4fbbb234db8d78e6105bf40 (diff) |
Wizard: F25 + dev message
Diffstat (limited to 'wizard/index.php')
-rw-r--r-- | wizard/index.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/wizard/index.php b/wizard/index.php index 7388450b..bf80aa2d 100644 --- a/wizard/index.php +++ b/wizard/index.php @@ -8,8 +8,10 @@ <link rel="shortcut icon" href="/favicon.ico" /> </head> <?php -define('FC_EOL', 21); +define('FC_EOL', 22); +define('FC_DEV', 25); define('EL_EOL', 4); +define('EL_DEV', 8); define('COUNTER', __DIR__ . "/counter.txt"); $osvers = [ @@ -19,6 +21,7 @@ $osvers = [ 'CentOS 7' => '5.4', 'CentOS 6' => '5.3', 'CentOS 5' => '5.1', + 'Fedora 25' => '7.0', 'Fedora 24' => '5.6', 'Fedora 23' => '5.6', 'Fedora 22' => '5.6', @@ -109,6 +112,9 @@ if ($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); } + if (($dist == 'Fedora' && $ver>=FC_DEV) || ($dist != 'Fedora' && $ver>=EL_DEV)) { + printf("<li><b>%s</b> is a development version, not ready for production.</li><br />", $os); + } } if ($php && $os) { printf("<li><b>%s</b> provides PHP version <b>%s</b> in its official repository</li><br />", $os, $osvers[$os]); |