firefly-iii/app/Http/Kernel.php

46 lines
1.3 KiB
PHP
Raw Normal View History

2015-02-05 21:52:16 -06:00
<?php namespace FireflyIII\Http;
2015-02-05 21:39:52 -06:00
use Illuminate\Foundation\Http\Kernel as HttpKernel;
2015-02-11 00:35:10 -06:00
/**
* Class Kernel
*
* @package FireflyIII\Http
*/
2015-02-06 12:33:31 -06:00
class Kernel extends HttpKernel
{
2015-02-05 21:39:52 -06:00
2015-02-06 12:33:31 -06:00
/**
* 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',
2015-03-28 00:19:09 -05:00
'FireflyIII\Http\Middleware\ReplaceTestVars',
2015-02-06 12:33:31 -06:00
'FireflyIII\Http\Middleware\VerifyCsrfToken',
];
2015-02-05 21:39:52 -06:00
2015-02-06 12:33:31 -06:00
/**
* The application's route middleware.
*
* @var array
*/
protected $routeMiddleware
= [
'auth' => 'FireflyIII\Http\Middleware\Authenticate',
'auth.basic' => 'Illuminate\Auth\Middleware\AuthenticateWithBasicAuth',
'guest' => 'FireflyIII\Http\Middleware\RedirectIfAuthenticated',
'range' => 'FireflyIII\Http\Middleware\Range',
'cleanup' => 'FireflyIII\Http\Middleware\Cleanup',
'reminders' => 'FireflyIII\Http\Middleware\Reminders',
2015-03-28 00:19:09 -05:00
2015-02-06 12:33:31 -06:00
];
2015-02-05 21:39:52 -06:00
}