feature #21 Add 'web_profiler.toolbar.enable' option to disable toolbar (Mashkin)
feature #21 Add 'web_profiler.toolbar.enable' option to disable toolbar (Mashkin)

This PR was merged into the 1.0.x-dev branch.

Discussion
----------

Add 'web_profiler.toolbar.enable' option to disable toolbar

The added switch `web_profiler.toolbar.enable` (default: true) allows to disable the debug toolbar on requests without disabling the profiler facility. Requests can still be profiled by using the token (e.g. provided in HTTP Response header) or searching on the profiler page.

The toolbar for a selected token still appears on the profiler page.

Useful for staging / beta environments.

Commits
-------

5813a6b Add 'web_profiler.toolbar.enable' option to disable toolbar

silexphp/Silex-WebProfiler,srsbiz/Silex-WebProfiler,augustinmerle/Silex-WebProfiler