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."); }