]> git.wh0rd.org - tt-rss.git/commitdiff
Somehow I managed to get it wrong the first time.
authorDimitar Dimitrov <admin@mitakas.com>
Sat, 16 Mar 2013 00:32:27 +0000 (01:32 +0100)
committerDimitar Dimitrov <admin@mitakas.com>
Sat, 16 Mar 2013 00:32:27 +0000 (01:32 +0100)
include/sanity_check.php

index 427457d8b5a8a03243c2b853c8a1dab6046e3c76..3e8832912de041d34c10cd38929ae42fcb700aa8 100644 (file)
@@ -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.");
                        }