mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 15:24:00 +01:00
Improved PHP version checkin
This commit is contained in:
@@ -6,7 +6,7 @@ if (!isset($reqsPassed)) {
|
||||
}
|
||||
|
||||
// Check PHP version meets minimum requirements
|
||||
if ((int) phpversion() < 7) {
|
||||
if (version_compare(phpversion(), '7.0.0', '<')) {
|
||||
$reqsPassed = false;
|
||||
array_push($reqsFailures, "phpVersion");
|
||||
}
|
||||
@@ -78,7 +78,7 @@ if (!$reqsPassed) {
|
||||
}
|
||||
?>
|
||||
</span>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user