Skip to content

Commit

Permalink
Allow PHP 7.1.0 (#1484)
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianallgeier committed Feb 20, 2019
1 parent 5cd599e commit 94a141d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Validate the PHP version to already
* stop at older versions
*/
if (version_compare(phpversion(), '7.1.0', '>') === false) {
if (version_compare(phpversion(), '7.1.0', '>=') === false) {
die(include __DIR__ . '/views/php.php');
}

Expand Down
2 changes: 1 addition & 1 deletion src/Cms/System.php
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ public function media(): bool
*/
public function php(): bool
{
return version_compare(phpversion(), '7.1.0', '>');
return version_compare(phpversion(), '7.1.0', '>=');
}

/**
Expand Down

0 comments on commit 94a141d

Please sign in to comment.