summaryrefslogtreecommitdiff
path: root/include/sanity_check.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-16 12:06:34 +0400
committerAndrew Dolgov <[email protected]>2013-03-16 12:06:34 +0400
commit1b113281ffa3c0fad96b139df39de566567b8d9d (patch)
tree233ae38c3174f0a218fe1acc3937d2ead5323fc4 /include/sanity_check.php
parenta582da6527904956f76724cbd2b1cb170add8661 (diff)
make version checks a bit more readable
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 3e8832912..5cb556746 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.");
}