Fix container configuration when not installed

This commit is contained in:
Franz Liedke 2020-05-08 16:03:20 +02:00
parent 55d0f24749
commit 073d50b3a4

View File

@ -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();