diff options
author | Dimitar Dimitrov <[email protected]> | 2013-03-16 00:30:29 +0100 |
---|---|---|
committer | Dimitar Dimitrov <[email protected]> | 2013-03-16 00:30:29 +0100 |
commit | f2ea6b1696787771adc5859b3e475df8cd65b7ce (patch) | |
tree | 911d99ddeec3a33e63639ff6882c7535a40f1471 | |
parent | 737ef4dcc25f73daa3200dd7e53ef47161a104db (diff) |
Found another place with a php version check.
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |