Fix container configuration when not installed

This commit is contained in:
Franz Liedke 2020-05-08 16:03:20 +02:00
parent a5e286e662
commit ecdce44d55
No known key found for this signature in database
GPG Key ID: 9A0231A879B055F4

View File

@ -72,12 +72,12 @@ class UninstalledSite implements SiteInterface
$laravel->register(InstallServiceProvider::class); $laravel->register(InstallServiceProvider::class);
$laravel->singleton( $container->singleton(
SettingsRepositoryInterface::class, SettingsRepositoryInterface::class,
UninstalledSettingsRepository::class UninstalledSettingsRepository::class
); );
$laravel->singleton('view', function ($app) { $container->singleton('view', function ($app) {
$engines = new EngineResolver(); $engines = new EngineResolver();
$engines->register('php', function () { $engines->register('php', function () {
return new PhpEngine(); return new PhpEngine();