From: Dimitar Dimitrov Date: Fri, 15 Mar 2013 23:30:29 +0000 (+0100) Subject: Found another place with a php version check. X-Git-Tag: 1.7.5~179^2~1 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f2ea6b1696787771adc5859b3e475df8cd65b7ce;p=tt-rss.git Found another place with a php version check. --- diff --git a/index.php b/index.php index fa868318..4d1ff795 100644 --- a/index.php +++ b/index.php @@ -7,7 +7,7 @@ // we need a separate check here because functions.php might get parsed // incorrectly before 5.3 because of :: syntax. - if (version_compare("5.3.0", phpversion()) == 1) { + if (!(version_compare(PHP_VERSION, '5.3.0', '>='))) { print "Fatal Error: PHP version 5.3.0 or newer required.\n"; exit; }