Skip to content

Conversation

fabpot
Copy link
Member

@fabpot fabpot commented Apr 26, 2013

Q A
Doc fix? no
New docs? yes (symfony/symfony#7859)
Applies to 2.3+
Fixed tickets n/a
@fabpot fabpot mentioned this pull request Apr 26, 2013
2 tasks
fabpot added a commit to symfony/symfony that referenced this pull request Apr 26, 2013
This PR was merged into the master branch. Discussion ---------- Profiler activation | Q | A | ------------- | --- | Bug fix? | no | New feature? | yes | BC breaks? | yes | Deprecations? | no | Tests pass? | yes | Fixed tickets | #7064, #7071 | License | MIT | Doc PR | symfony/symfony-docs#2565 As stated in #7071, there is no way to disable the profiler completely. Even when the `enabled` flag is set to `false`, the profiler is still registered but the data collectors are not activated. Now, when `enabled` is `false`, the profiler is disabled. To get the old `false` behavior, you now need to set `enabled` to `true` and set the new `collect` flag to `false`. Todo: - [x] update docs - [x] update Symfony SE -- not needed Commits ------- 88ebd62 fixed the registration of the web profiler when the profiler is disabled a11f901 [FrameworkBundle] added a way to disable the profiler f675dd8 Truly disabled profiler in prod
weaverryan added a commit that referenced this pull request May 4, 2013
added the new collect flag for the profiler
@weaverryan weaverryan merged commit f04c2db into symfony:master May 4, 2013
weaverryan added a commit that referenced this pull request May 5, 2013
weaverryan added a commit that referenced this pull request May 6, 2013
@fabpot fabpot deleted the profiler-activation branch March 3, 2014 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants