FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
BookStack/app/Http/Kernel.php at development · ucoding/BookStack · GitHub
ucoding
/
BookStack
Public
forked from
BookStackApp/BookStack
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
BookStack
/
app
/
Http
/
Kernel.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
60 lines (55 loc) · 2.29 KB
Breadcrumbs
BookStack
/
app
/
Http
/
Kernel.php
Copy path
File metadata and controls
60 lines (55 loc) · 2.29 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
namespace
BookStack
\
Http
;
use
Illuminate
\
Foundation
\
Http
\
Kernel
as
HttpKernel
;
class
Kernel
extends
HttpKernel
{
/**
* The application's global HTTP middleware stack.
* These middleware are run during every request to your application.
*/
protected
$
middleware
= [
\
BookStack
\
Http
\
Middleware
\PreventRequestsDuringMaintenance::class,
\
Illuminate
\
Foundation
\
Http
\
Middleware
\ValidatePostSize::class,
\
BookStack
\
Http
\
Middleware
\TrimStrings::class,
\
BookStack
\
Http
\
Middleware
\TrustProxies::class,
\
BookStack
\
Http
\
Middleware
\PreventResponseCaching::class,
];
/**
* The application's route middleware groups.
*
* @var array
*/
protected
$
middlewareGroups
= [
'
web
'
=> [
\
BookStack
\
Http
\
Middleware
\ApplyCspRules::class,
\
BookStack
\
Http
\
Middleware
\EncryptCookies::class,
\
Illuminate
\
Cookie
\
Middleware
\AddQueuedCookiesToResponse::class,
\
Illuminate
\
Session
\
Middleware
\StartSession::class,
\
Illuminate
\
View
\
Middleware
\ShareErrorsFromSession::class,
\
BookStack
\
Http
\
Middleware
\VerifyCsrfToken::class,
\
BookStack
\
Http
\
Middleware
\CheckEmailConfirmed::class,
\
BookStack
\
Http
\
Middleware
\RunThemeActions::class,
\
BookStack
\
Http
\
Middleware
\Localization::class,
],
'
api
'
=> [
\
BookStack
\
Http
\
Middleware
\ThrottleApiRequests::class,
\
BookStack
\
Http
\
Middleware
\EncryptCookies::class,
\
BookStack
\
Http
\
Middleware
\StartSessionIfCookieExists::class,
\
BookStack
\
Http
\
Middleware
\ApiAuthenticate::class,
\
BookStack
\
Http
\
Middleware
\CheckEmailConfirmed::class,
],
];
/**
* The application's route middleware.
*
* @var array
*/
protected
$
routeMiddleware
= [
'
auth
'
=> \
BookStack
\
Http
\
Middleware
\Authenticate::class,
'
can
'
=> \
BookStack
\
Http
\
Middleware
\CheckUserHasPermission::class,
'
guest
'
=> \
BookStack
\
Http
\
Middleware
\RedirectIfAuthenticated::class,
'
throttle
'
=> \
Illuminate
\
Routing
\
Middleware
\ThrottleRequests::class,
'
guard
'
=> \
BookStack
\
Http
\
Middleware
\CheckGuard::class,
'
mfa-setup
'
=> \
BookStack
\
Http
\
Middleware
\AuthenticatedOrPendingMfa::class,
];
}
Back
|
FazBrowse Home
|
New Git URL