This commit is contained in:
2022-08-20 22:04:09 +02:00
parent ce647d4423
commit 58c905acf5
4 changed files with 27 additions and 273 deletions

View File

@@ -246,8 +246,9 @@ namespace Documents\Install {
$success = false;
}
if (version_compare(PHP_VERSION, '7.4', '<')) {
$failedRequirements[] = "PHP Version <b>>= 7.4</b> is required. Got: <b>" . PHP_VERSION . "</b>";
$requiredVersion = '8.0';
if (version_compare(PHP_VERSION, $requiredVersion, '<')) {
$failedRequirements[] = "PHP Version <b>>= $requiredVersion</b> is required. Got: <b>" . PHP_VERSION . "</b>";
$success = false;
}