Found another place with a php version check.
This commit is contained in:
parent
737ef4dcc2
commit
f2ea6b1696
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
// we need a separate check here because functions.php might get parsed
|
// we need a separate check here because functions.php might get parsed
|
||||||
// incorrectly before 5.3 because of :: syntax.
|
// 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";
|
print "<b>Fatal Error</b>: PHP version 5.3.0 or newer required.\n";
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue