Skip to content

Commit 18276b4

Browse files
authored
restore app global middleware
1 parent 4429d8a commit 18276b4

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

core/config/app.php

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,5 +112,20 @@
112112
'Helper' => EvolutionCMS\Facades\HelperProcessor::class,
113113
'UserManager' => EvolutionCMS\UserManager\Facades\UserManager::class,
114114
'DocumentManager' => EvolutionCMS\DocumentManager\Facades\DocumentManager::class,
115-
]
115+
],
116+
117+
/*
118+
|--------------------------------------------------------------------------
119+
| The application's global HTTP middleware stack
120+
|--------------------------------------------------------------------------
121+
|
122+
| These core middleware are run during every request to your application.
123+
| You should not edit this list,
124+
| for custom middleware see file core/custom/config/middleware.php.
125+
|
126+
*/
127+
128+
'middleware' => [
129+
Illuminate\Session\Middleware\StartSession::class,
130+
],
116131
];

0 commit comments

Comments
 (0)