File manager - Edit - /home/linknsbh/cecil-hotel.net/platform/plugins/language/src/Http/Middleware/LaravelLocalizationMiddlewareBase.php
Back
<?php namespace Botble\Language\Http\Middleware; use Illuminate\Http\Request; class LaravelLocalizationMiddlewareBase { /** * The URIs that should not be localized. */ protected array $except = []; /** * Determine if the request has a URI that should not be localized. */ protected function shouldIgnore(Request $request): bool { foreach ($this->except as $except) { if ($except !== '/') { $except = trim($except, '/'); } if ($request->is($except)) { return true; } } return false; } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.31 | Generation time: 0.57 |
proxy
|
phpinfo
|
Settings