[WebProfilerBundle] fixed profiler homepage, fixed #10806

This commit is contained in:
Tugdual Saunier 2014-04-30 09:32:22 +02:00
parent 7b425d229d
commit 5b91e70777
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ class ProfilerController
$session->getFlashBag()->setAll($session->getFlashBag()->peekAll()); $session->getFlashBag()->setAll($session->getFlashBag()->peekAll());
} }
if (null === $token) { if ('empty' === $token || null === $token) {
return new Response('', 200, array('Content-Type' => 'text/html')); return new Response('', 200, array('Content-Type' => 'text/html'));
} }