mirror of
https://github.com/flarum/framework.git
synced 2024-12-01 05:53:45 +08:00
Fix container configuration when not installed
This commit is contained in:
parent
a5e286e662
commit
ecdce44d55
|
@ -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