diff options
| author | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2013-03-16 12:06:34 +0400 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2013-03-16 12:06:34 +0400 |
| commit | 1b113281ffa3c0fad96b139df39de566567b8d9d (patch) | |
| tree | 233ae38c3174f0a218fe1acc3937d2ead5323fc4 /index.php | |
| parent | a582da6527904956f76724cbd2b1cb170add8661 (diff) | |
make version checks a bit more readable
Diffstat (limited to 'index.php')
| -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(PHP_VERSION, '5.3.0', '>='))) { + if (version_compare(PHP_VERSION, '5.3.0', '<')) { print "<b>Fatal Error</b>: PHP version 5.3.0 or newer required.\n"; exit; } |