Файловый менеджер - Редактировать - /home/clickysoft/public_html/rgr.clickysoft.net/vendor/spatie/flare-client-php/src/FlareMiddleware/CensorRequestHeaders.php
Назад
<?php namespace Spatie\FlareClient\FlareMiddleware; use Spatie\FlareClient\Report; class CensorRequestHeaders implements FlareMiddleware { protected array $headers = []; public function __construct(array $headers) { $this->headers = $headers; } public function handle(Report $report, $next) { $context = $report->allContext(); foreach ($this->headers as $header) { $header = strtolower($header); if (isset($context['headers'][$header])) { $context['headers'][$header] = '<CENSORED>'; } } $report->userProvidedContext($context); return $next($report); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка