1
0
mirror of https://github.com/flarum/core.git synced 2025-07-24 02:01:19 +02:00

Add helpful hint on how to upgrade PHP

This commit is contained in:
Toby Zerner
2015-08-29 14:44:55 +09:30
parent a41e3e66ce
commit 12d5e48b95

View File

@@ -45,7 +45,7 @@ class IndexAction extends HtmlAction
if (version_compare(PHP_VERSION, '5.5.0', '<')) {
$errors[] = [
'message' => '<strong>PHP 5.5+</strong> is required.',
'detail' => 'You are running version '.PHP_VERSION.'.'
'detail' => 'You are running version '.PHP_VERSION.'. Talk to your hosting provider about upgrading to the latest PHP version.'
];
}