Fix deg pour impl. deg.
This commit is contained in:
parent
1aa6efaac5
commit
fe0d3c1c3c
1 changed files with 3 additions and 0 deletions
|
|
@ -88,6 +88,9 @@ class LangCheck
|
|||
*/
|
||||
private function checkFirstAccess(Request $request)
|
||||
{
|
||||
if (\strpos($request->header('User-Agent'), "Uptime-Kuma") !== false) {
|
||||
return false;
|
||||
}
|
||||
// Do we have session ?
|
||||
if (!$request->session()->has('lang')) {
|
||||
$fromC = Cookie::get('language');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue