1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <?php
- return array(
-
- 'before' => function(Laravel\Request $request)
- {
-
- },
- 'after' => function(Laravel\Request $request, Laravel\Response $response)
- {
-
- },
- 'auth' => function()
- {
- return ( ! Auth::make()->check()) ? Redirect::to_login() : null;
- },
- 'csrf' => function()
- {
- return (Input::get('csrf_token') !== Form::raw_token()) ? new Error('500') : null;
- },
- );
|