This commit is contained in:
Bastian Allgeier
2020-07-07 12:40:13 +02:00
parent 5f025ac2c2
commit f79d2e960c
176 changed files with 10532 additions and 5343 deletions

View File

@@ -2,9 +2,12 @@
/**
* Validate the PHP version to already
* stop at older versions
* stop at older or too recent versions
*/
if (version_compare(phpversion(), '7.1.0', '>=') === false) {
if (
version_compare(PHP_VERSION, '7.2.0', '>=') === false ||
version_compare(PHP_VERSION, '7.5.0', '<') === false
) {
die(include __DIR__ . '/views/php.php');
}