mirror of
https://github.com/flarum/framework.git
synced 2024-11-24 10:40:51 +08:00
Improve problem description for wrong PHP version
This commit is contained in:
parent
968152b740
commit
4d1411e2a8
|
@ -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