mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-19 22:14:45 +02:00
Re-register service providers
This commit is contained in:
parent
ec38f7567e
commit
ab4c3eedc3
@ -5,7 +5,9 @@ use Illuminate\Foundation\Configuration\Exceptions;
|
||||
use Illuminate\Foundation\Configuration\Middleware;
|
||||
|
||||
return Application::configure(basePath: dirname(__DIR__))
|
||||
->withProviders()
|
||||
->withProviders([
|
||||
\Prologue\Alerts\AlertsServiceProvider::class,
|
||||
])
|
||||
->withRouting(
|
||||
web: __DIR__.'/../routes/web.php',
|
||||
// api: __DIR__.'/../routes/api.php',
|
||||
|
@ -1,5 +1,12 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
App\Providers\ActivityLogServiceProvider::class,
|
||||
App\Providers\AppServiceProvider::class,
|
||||
App\Providers\BackupsServiceProvider::class,
|
||||
App\Providers\BladeServiceProvider::class,
|
||||
App\Providers\EventServiceProvider::class,
|
||||
App\Providers\HashidsServiceProvider::class,
|
||||
App\Providers\RouteServiceProvider::class,
|
||||
App\Providers\ViewComposerServiceProvider::class,
|
||||
];
|
||||
|
@ -11,29 +11,6 @@ return [
|
||||
'report_all' => env('APP_REPORT_ALL_EXCEPTIONS', false),
|
||||
],
|
||||
|
||||
'providers' => ServiceProvider::defaultProviders()->merge([
|
||||
/*
|
||||
* Laravel Framework Service Providers...
|
||||
*/
|
||||
|
||||
/*
|
||||
* Application Service Providers...
|
||||
*/
|
||||
App\Providers\ActivityLogServiceProvider::class,
|
||||
App\Providers\AppServiceProvider::class,
|
||||
App\Providers\AuthServiceProvider::class,
|
||||
App\Providers\BackupsServiceProvider::class,
|
||||
App\Providers\BladeServiceProvider::class,
|
||||
App\Providers\EventServiceProvider::class,
|
||||
App\Providers\HashidsServiceProvider::class,
|
||||
App\Providers\RouteServiceProvider::class,
|
||||
App\Providers\ViewComposerServiceProvider::class,
|
||||
|
||||
/*
|
||||
* Additional Dependencies
|
||||
*/
|
||||
Prologue\Alerts\AlertsServiceProvider::class,
|
||||
])->toArray(),
|
||||
|
||||
'aliases' => Facade::defaultAliases()->merge([
|
||||
'Alert' => Prologue\Alerts\Facades\Alert::class,
|
||||
|
Loading…
x
Reference in New Issue
Block a user