diff options
author | Remi Collet <fedora@famillecollet.com> | 2017-01-17 07:13:36 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2017-01-17 07:13:36 +0100 |
commit | d98a08374f14b7a5b46379877fa499b13c94db13 (patch) | |
tree | c15b361d370200b456ab9c10c00caa271bba66ac /wizard | |
parent | 862ceb2f621726507bc06ee3bb07cb9a426cf28d (diff) |
Wizard: fix test
Diffstat (limited to 'wizard')
-rw-r--r-- | wizard/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wizard/index.php b/wizard/index.php index 0c99e08f..f1687172 100644 --- a/wizard/index.php +++ b/wizard/index.php @@ -217,7 +217,7 @@ if ($php && $os && $type && !$err) { printf("<pre> $yum install php-xxx</pre>"); printf("</li><br />"); - if ($ver >= 7) { + if (version_compare($php, '7.0', '>=')) { printf("<li>Command to install <b>testing</b> packages:"); printf("<pre> $yum --enablerepo=%s-test install php-xxx</pre>", $phpvers[$php]); printf("</li><br />"); |