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:
Franz Liedke 2018-12-18 11:16:30 +01:00
parent 54503d2c29
commit 3468bdf511
No known key found for this signature in database
GPG Key ID: 9A0231A879B055F4

View File

@ -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;
}