mirror of
https://github.com/flarum/framework.git
synced 2025-01-20 03:32:44 +08:00
Run local extenders before booting service providers
We still need to discuss the priority of local extenders vs. those from enabled extensions, but let's first fix the actual bug. Refs #1708.
This commit is contained in:
parent
54503d2c29
commit
3468bdf511
|
@ -146,12 +146,12 @@ class InstalledSite implements SiteInterface
|
|||
|
||||
$laravel->register(ExtensionServiceProvider::class);
|
||||
|
||||
$laravel->boot();
|
||||
|
||||
foreach ($this->extenders as $extension) {
|
||||
$extension->extend($laravel);
|
||||
}
|
||||
|
||||
$laravel->boot();
|
||||
|
||||
return $laravel;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user