mirror of
https://github.com/flarum/core.git
synced 2025-07-18 23:31:17 +02:00
Fix container configuration when not installed
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user