summaryrefslogtreecommitdiff
path: root/include/sanity_check.php
diff options
context:
space:
mode:
authorDimitar Dimitrov <[email protected]>2013-03-16 01:32:27 +0100
committerDimitar Dimitrov <[email protected]>2013-03-16 01:32:27 +0100
commit9f1d4dc282863cb469a439c59d6cd077e0effa98 (patch)
tree3ba6c27974603044439143275c1be0c6185d1376 /include/sanity_check.php
parentf2ea6b1696787771adc5859b3e475df8cd65b7ce (diff)
Somehow I managed to get it wrong the first time.
Diffstat (limited to 'include/sanity_check.php')
-rw-r--r--include/sanity_check.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sanity_check.php b/include/sanity_check.php
index 427457d8b..3e8832912 100644
--- a/include/sanity_check.php
+++ b/include/sanity_check.php
@@ -20,7 +20,7 @@
array_push($errors, "Please don't run this script as root.");
}
- if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
+ if (!(version_compare(PHP_VERSION, '5.3.0', '>='))) {
array_push($errors, "PHP version 5.3.0 or newer required.");
}