mirror of
https://github.com/flarum/framework.git
synced 2025-02-23 19:37:24 +08:00
info: Print PHP version, too
This commit is contained in:
parent
77b9669bba
commit
fb954a0e0d
@ -48,6 +48,8 @@ class InfoCommand extends AbstractCommand
|
||||
{
|
||||
$this->info('Flarum core '.Application::VERSION);
|
||||
|
||||
$this->info('PHP '.PHP_VERSION);
|
||||
|
||||
foreach ($this->extensions->getEnabledExtensions() as $extension) {
|
||||
/** @var \Flarum\Extension\Extension $extension */
|
||||
$name = $extension->getId();
|
||||
|
Loading…
x
Reference in New Issue
Block a user