summaryrefslogtreecommitdiffstats
path: root/wizard/index.php
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-01-17 07:13:36 +0100
committerRemi Collet <fedora@famillecollet.com>2017-01-17 07:13:36 +0100
commitd98a08374f14b7a5b46379877fa499b13c94db13 (patch)
treec15b361d370200b456ab9c10c00caa271bba66ac /wizard/index.php
parent862ceb2f621726507bc06ee3bb07cb9a426cf28d (diff)
Wizard: fix test
Diffstat (limited to 'wizard/index.php')
-rw-r--r--wizard/index.php2
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 />");