We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1de681 commit 7d42a09Copy full SHA for 7d42a09
lib/InitRouter.php
@@ -185,7 +185,7 @@ public function handle(): void
185
}
186
187
// Для внутренних нужд пометить роут Symfony
188
- $this->request->headers->add(['X-Symfony-route', 1]);
+ $this->request->headers->set('X-Symfony-route', 1);
189
190
// Перебиваю битриксовый 404 для роутов.
191
CHTTP::SetStatus('200 OK');
0 commit comments