PATH:
home
/
lab2454c
/
vaultchip.com
/
platform
/
plugins
/
language
/
src
/
Http
/
Middleware
<?php namespace Botble\Language\Http\Middleware; use Illuminate\Http\Request; class LaravelLocalizationMiddlewareBase { /** * The URIs that should not be localized. * * @var array */ protected $except = []; /** * Determine if the request has a URI that should not be localized. * * @param Request $request * @return bool */ protected function shouldIgnore($request) { foreach ($this->except as $except) { if ($except !== '/') { $except = trim($except, '/'); } if ($request->is($except)) { return true; } } return false; } }
[-] LocalizationRoutes.php
[edit]
[-] LocalizationRedirectFilter.php
[edit]
[+]
..
[-] LocaleSessionRedirect.php
[edit]
[-] LaravelLocalizationMiddlewareBase.php
[edit]