Skip to content

Commit

Permalink
[ProfilerManager] added a X-Debug-Token header when the profiling is …
Browse files Browse the repository at this point in the history
…enabled
  • Loading branch information
fabpot committed Jun 16, 2010
1 parent 79f3390 commit cec2f48
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -61,6 +61,7 @@ public function handle(Event $event, Response $response)
}

$this->response = $response;
$this->response->headers->set('X-Debug-Token', $this->profilerStorage->getToken());

$data = array();
foreach ($this->collectors as $name => $collector) {
Expand Down

0 comments on commit cec2f48

Please sign in to comment.