From: Dimitar Dimitrov Date: Sat, 16 Mar 2013 00:32:27 +0000 (+0100) Subject: Somehow I managed to get it wrong the first time. X-Git-Tag: 1.7.5~179^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9f1d4dc282863cb469a439c59d6cd077e0effa98;p=tt-rss.git Somehow I managed to get it wrong the first time. --- diff --git a/include/sanity_check.php b/include/sanity_check.php index 427457d8..3e883291 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."); }