mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 08:17:32 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			39 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| namespace App\Http;
 | |
| 
 | |
| use Illuminate\Foundation\Http\Kernel as HttpKernel;
 | |
| 
 | |
| class Kernel extends HttpKernel
 | |
| {
 | |
|     /**
 | |
|      * The application's global HTTP middleware stack.
 | |
|      *
 | |
|      * @var array
 | |
|      */
 | |
|     protected $middleware = [
 | |
|         'Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode',
 | |
|         'Illuminate\Cookie\Middleware\EncryptCookies',
 | |
|         'Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse',
 | |
|         'Illuminate\Session\Middleware\StartSession',
 | |
|         'Illuminate\View\Middleware\ShareErrorsFromSession',
 | |
|         'App\Http\Middleware\VerifyCsrfToken',
 | |
|         'App\Http\Middleware\DuplicateSubmissionCheck',
 | |
|         'App\Http\Middleware\QueryLogging',
 | |
|         'App\Http\Middleware\StartupCheck',
 | |
|     ];
 | |
| 
 | |
|     /**
 | |
|      * The application's route middleware.
 | |
|      *
 | |
|      * @var array
 | |
|      */
 | |
|     protected $routeMiddleware = [
 | |
|         'auth' => 'App\Http\Middleware\Authenticate',
 | |
|         'auth.basic' => 'Illuminate\Auth\Middleware\AuthenticateWithBasicAuth',
 | |
|         'permissions.required' => 'App\Http\Middleware\PermissionsRequired',
 | |
|         'guest' => 'App\Http\Middleware\RedirectIfAuthenticated',
 | |
|         'api' => 'App\Http\Middleware\ApiCheck',
 | |
|     ];
 | |
| }
 |