From 1b113281ffa3c0fad96b139df39de566567b8d9d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 16 Mar 2013 12:06:34 +0400 Subject: make version checks a bit more readable --- include/sanity_check.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sanity_check.php') 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."); } -- cgit v1.2.3-54-g00ecf