2015-03-12 01:44:39 +01:00
|
|
|
<?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 = [
|
2015-04-02 15:06:16 +02:00
|
|
|
'Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode',
|
2015-03-12 01:44:39 +01:00
|
|
|
'Illuminate\Cookie\Middleware\EncryptCookies',
|
|
|
|
'Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse',
|
|
|
|
'Illuminate\Session\Middleware\StartSession',
|
|
|
|
'Illuminate\View\Middleware\ShareErrorsFromSession',
|
|
|
|
'App\Http\Middleware\VerifyCsrfToken',
|
2015-04-22 21:21:04 +02:00
|
|
|
'App\Http\Middleware\DuplicateSubmissionCheck',
|
2015-04-02 15:06:16 +02:00
|
|
|
'App\Http\Middleware\StartupCheck',
|
2015-03-12 01:44:39 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The application's route middleware.
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
protected $routeMiddleware = [
|
|
|
|
'auth' => 'App\Http\Middleware\Authenticate',
|
|
|
|
'auth.basic' => 'Illuminate\Auth\Middleware\AuthenticateWithBasicAuth',
|
2016-03-16 00:08:00 +01:00
|
|
|
'permissions.required' => 'App\Http\Middleware\PermissionsRequired',
|
2015-03-12 01:44:39 +01:00
|
|
|
'guest' => 'App\Http\Middleware\RedirectIfAuthenticated',
|
2015-04-02 15:06:16 +02:00
|
|
|
'api' => 'App\Http\Middleware\ApiCheck',
|
2015-03-12 01:44:39 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
}
|