Keine Beschreibung

Kernel.php 900B

12345678910111213141516171819202122232425262728293031323334
  1. <?php namespace App\Http;
  2. use Illuminate\Foundation\Http\Kernel as HttpKernel;
  3. class Kernel extends HttpKernel {
  4. /**
  5. * The application's global HTTP middleware stack.
  6. *
  7. * @var array
  8. */
  9. protected $middleware = [
  10. 'Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode',
  11. 'Illuminate\Cookie\Middleware\EncryptCookies',
  12. 'Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse',
  13. 'Illuminate\Session\Middleware\StartSession',
  14. 'Illuminate\View\Middleware\ShareErrorsFromSession',
  15. //'App\Http\Middleware\VerifyCsrfToken',
  16. ];
  17. /**
  18. * The application's route middleware.
  19. *
  20. * @var array
  21. */
  22. protected $routeMiddleware = [
  23. 'auth' => 'App\Http\Middleware\Authenticate',
  24. 'auth.basic' => 'Illuminate\Auth\Middleware\AuthenticateWithBasicAuth',
  25. 'guest' => 'App\Http\Middleware\RedirectIfAuthenticated',
  26. 'login' => 'App\Http\Middleware\LoginMiddleware',
  27. ];
  28. }