mirror of
https://github.com/flarum/core.git
synced 2025-07-19 07:41:22 +02:00
Improve problem description for wrong PHP version
This commit is contained in:
@@ -27,7 +27,7 @@ class PhpVersion implements PrerequisiteInterface
|
|||||||
if (version_compare(PHP_VERSION, $this->minVersion, '<')) {
|
if (version_compare(PHP_VERSION, $this->minVersion, '<')) {
|
||||||
return collect()->push([
|
return collect()->push([
|
||||||
'message' => "PHP $this->minVersion is required.",
|
'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.',
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user