Skip to content

Commit 0dd8dd7

Browse files
committed
[#2565] Adding a note about the profiler.enabled key that was added in 2.2
1 parent 18ebdda commit 0dd8dd7

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

reference/configuration/framework.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ Configuration
3939
* `assets_base_urls`_
4040
* `assets_version`_
4141
* `assets_version_format`_
42+
* `profiler`_
43+
* `enabled`_
4244

4345
secret
4446
~~~~~~
@@ -397,6 +399,22 @@ would be ``/images/logo.png?version=5``.
397399
The latter option is useful if you would like older asset versions to remain
398400
accessible at their original URL.
399401

402+
profiler
403+
~~~~~~~~
404+
405+
.. versionadded:: 2.2
406+
The ``enabled`` option was added in Symfony 2.2. Previously, the profiler
407+
could only be disabled by omitting the ``framework.profiler`` configuration
408+
entirely.
409+
410+
enabled
411+
.......
412+
413+
**default**: ``true`` in the ``dev`` and ``test`` environments
414+
415+
The profiler can be disabled by setting this key to ``false``. In reality,
416+
the profiler still exists, but the data collectors are not activated.
417+
400418
Full Default Configuration
401419
--------------------------
402420

0 commit comments

Comments
 (0)