mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 23:23:52 +08:00
Improve problem description for wrong PHP version
This commit is contained in:
parent
d27a9a6421
commit
fd7610ffee
|
@ -27,7 +27,7 @@ class PhpVersion implements PrerequisiteInterface
|
|||
if (version_compare(PHP_VERSION, $this->minVersion, '<')) {
|
||||
return collect()->push([
|
||||
'message' => "PHP $this->minVersion is required.",
|
||||
'detail' => 'You are running version '.PHP_VERSION.'. Talk to your hosting provider about upgrading to the latest PHP version.',
|
||||
'detail' => 'You are running version '.PHP_VERSION.'. You might want to talk to your system administrator about upgrading to the latest PHP version.',
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user