[WebProfilerBundle] fixed profiler homepage, fixed #10806
This commit is contained in:
parent
7b425d229d
commit
5b91e70777
|
@ -232,7 +232,7 @@ class ProfilerController
|
|||
$session->getFlashBag()->setAll($session->getFlashBag()->peekAll());
|
||||
}
|
||||
|
||||
if (null === $token) {
|
||||
if ('empty' === $token || null === $token) {
|
||||
return new Response('', 200, array('Content-Type' => 'text/html'));
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue