1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 19:05:55 +00:00

make version checks a bit more readable

This commit is contained in:
Andrew Dolgov
2013-03-16 12:06:34 +04:00
parent a582da6527
commit 1b113281ff
2 changed files with 2 additions and 2 deletions

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