mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
Don't enable the Pusher extension by default
This commit is contained in:
parent
5c5be89928
commit
d050a7775f
|
@ -248,16 +248,22 @@ class InstallCommand extends Command
|
|||
$migrator = $extensions->getMigrator();
|
||||
|
||||
foreach ($extensions->getInfo() as $extension) {
|
||||
$this->info('Enabling extension: '.$extension->name);
|
||||
$name = $extensions->name;
|
||||
|
||||
$extensions->enable($extension->name);
|
||||
if ($name === 'pusher') {
|
||||
continue;
|
||||
}
|
||||
|
||||
$this->info('Enabling extension: '.$name);
|
||||
|
||||
$extensions->enable($name);
|
||||
|
||||
foreach ($migrator->getNotes() as $note) {
|
||||
$this->info($note);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
protected function getConfigFile()
|
||||
{
|
||||
return base_path('../config.php');
|
||||
|
|
Loading…
Reference in New Issue
Block a user