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:
@@ -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.'
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user