8000 [WebProfiler] Reorder the configuration options to fit the link order by PReimers · Pull Request #10742 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[WebProfiler] Reorder the configuration options to fit the link order #107 8000 42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions reference/configuration/web_profiler.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,15 @@ Configuration
* `intercept_redirects`_
* `toolbar`_

toolbar
~~~~~~~
excluded_ajax_paths
~~~~~~~~~~~~~~~~~~~

**type**: ``boolean`` **default**: ``false``
**type**: ``string`` **default**: ``'^/((index|app(_[\w]+)?)\.php/)?_wdt'``

It enables and disables the toolbar entirely. Usually you set this to ``true``
in the ``dev`` and ``test`` environments and to ``false`` in the ``prod``
environment.
When the toolbar logs Ajax requests, it matches their URLs against this regular
expression. If the URL matches, the request is not displayed in the toolbar. This
is useful when the application makes lots of Ajax requests or they are heavy and
you want to exclude some of them.

.. _intercept_redirects:

Expand All @@ -61,12 +62,11 @@ redirection and shows you the URL which is going to redirect to, its toolbar,
and its profiler. Once you've inspected the toolbar/profiler data, you can click
on the given link to perform the redirect.

excluded_ajax_paths
~~~~~~~~~~~~~~~~~~~
toolbar
~~~~~~~

**type**: ``string`` **default**: ``'^/((index|app(_[\w]+)?)\.php/)?_wdt'``
**type**: ``boolean`` **default**: ``false``

When the toolbar logs Ajax requests, it matches their URLs against this regular
expression. If the URL matches, the request is not displayed in the toolbar. This
is useful when the application makes lots of Ajax requests or they are heavy and
you want to exclude some of them.
It enables and disables the toolbar entirely. Usually you set this to ``true``
in the ``dev`` and ``test`` environments and to ``false`` in the ``prod``
environment.
0