mirror of
https://github.com/flarum/framework.git
synced 2024-11-26 18:33:40 +08:00
Fix container configuration when not installed
This commit is contained in:
parent
55d0f24749
commit
073d50b3a4
|
@ -72,12 +72,12 @@ class UninstalledSite implements SiteInterface
|
|||
|
||||
$laravel->register(InstallServiceProvider::class);
|
||||
|
||||
$laravel->singleton(
|
||||
$container->singleton(
|
||||
SettingsRepositoryInterface::class,
|
||||
UninstalledSettingsRepository::class
|
||||
);
|
||||
|
||||
$laravel->singleton('view', function ($app) {
|
||||
$container->singleton('view', function ($app) {
|
||||
$engines = new EngineResolver();
|
||||
$engines->register('php', function () {
|
||||
return new PhpEngine();
|
||||
|
|
Loading…
Reference in New Issue
Block a user