Found another place with a php version check.

This commit is contained in:
Dimitar Dimitrov 2013-03-16 00:30:29 +01:00
parent 737ef4dcc2
commit f2ea6b1696
1 changed files with 1 additions and 1 deletions

View File

@ -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 "<b>Fatal Error</b>: PHP version 5.3.0 or newer required.\n";
exit;
}