mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
Re-register service providers
This commit is contained in:
+4
-1
@@ -5,7 +5,10 @@ use Illuminate\Foundation\Configuration\Exceptions;
|
||||
use Illuminate\Foundation\Configuration\Middleware;
|
||||
|
||||
return Application::configure(basePath: dirname(__DIR__))
|
||||
->withProviders()
|
||||
->withProviders([
|
||||
\Laravel\Tinker\TinkerServiceProvider::class,
|
||||
\Jrean\UserVerification\UserVerificationServiceProvider::class,
|
||||
])
|
||||
->withRouting(
|
||||
web: __DIR__.'/../routes/web.php',
|
||||
// api: __DIR__.'/../routes/api.php',
|
||||
|
||||
@@ -2,4 +2,8 @@
|
||||
|
||||
return [
|
||||
App\Providers\AppServiceProvider::class,
|
||||
App\Providers\HorizonServiceProvider::class,
|
||||
App\Providers\TelescopeServiceProvider::class,
|
||||
App\Providers\RouteServiceProvider::class,
|
||||
App\Providers\UserServiceProvider::class,
|
||||
];
|
||||
|
||||
@@ -5,29 +5,6 @@ use Illuminate\Support\ServiceProvider;
|
||||
|
||||
return [
|
||||
|
||||
'providers' => ServiceProvider::defaultProviders()->merge([
|
||||
/*
|
||||
* Laravel Framework Service Providers...
|
||||
*/
|
||||
|
||||
/*
|
||||
* Package Service Providers...
|
||||
*/
|
||||
Laravel\Tinker\TinkerServiceProvider::class,
|
||||
|
||||
/*
|
||||
* Application Service Providers...
|
||||
*/
|
||||
App\Providers\AppServiceProvider::class,
|
||||
App\Providers\AuthServiceProvider::class,
|
||||
// App\Providers\BroadcastServiceProvider::class,
|
||||
App\Providers\EventServiceProvider::class,
|
||||
App\Providers\HorizonServiceProvider::class,
|
||||
App\Providers\TelescopeServiceProvider::class,
|
||||
Jrean\UserVerification\UserVerificationServiceProvider::class,
|
||||
App\Providers\RouteServiceProvider::class,
|
||||
App\Providers\UserServiceProvider::class,
|
||||
])->toArray(),
|
||||
|
||||
'aliases' => Facade::defaultAliases()->merge([
|
||||
'RedisManager' => Illuminate\Support\Facades\Redis::class,
|
||||
|
||||
Reference in New Issue
Block a user