1
0
mirror of https://github.com/flarum/core.git synced 2025-10-25 13:46:29 +02:00

Check prerequisites in console installer, too

This commit is contained in:
Franz Liedke
2015-09-03 08:42:16 +02:00
parent 942db77416
commit 3c9d851889
4 changed files with 37 additions and 7 deletions

View File

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