1
0
mirror of https://github.com/flarum/core.git synced 2025-07-30 05:00:56 +02:00

Improve problem description for wrong PHP version

This commit is contained in:
Franz Liedke
2019-02-01 13:00:25 +01:00
parent 968152b740
commit 4d1411e2a8

View File

@@ -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.',
]);
}