Update HttpKernel.php
This commit is contained in:
parent
829ced841c
commit
7b7f966711
|
@ -62,7 +62,7 @@ class HttpKernel implements HttpKernelInterface, TerminableInterface
|
||||||
*/
|
*/
|
||||||
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
|
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
|
||||||
{
|
{
|
||||||
$request->headers->set('X-Php-Ob-Level', ob_get_level());
|
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
|
||||||
|
|
||||||
try {
|
try {
|
||||||
return $this->handleRaw($request, $type);
|
return $this->handleRaw($request, $type);
|
||||||
|
|
Reference in New Issue