Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0dd8dd7

Browse files
committed
[symfony#2565] Adding a note about the profiler.enabled key that was added in 2.2
1 parent18ebdda commit0dd8dd7

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)

[8]ページ先頭

©2009-2025 Movatter.jp