Skip to content

Update environments.rst #4847

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
6 changes: 2 additions & 4 deletions cookbook/configuration/environments.rst
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,7 @@ activated by modifying the default value in the ``dev`` configuration file:
<import resource="config.xml" />
</imports>

<webprofiler:config
toolbar="true"
... />
<webprofiler:config toolbar="true" />

.. code-block:: php
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or at least the dots should be commented in my opinion

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC we removed them in other examples (like you did here).


Expand Down Expand Up @@ -309,7 +307,7 @@ should also create a front controller for it. Copy the ``web/app.php`` file
to ``web/app_benchmark.php`` and edit the environment to be ``benchmark``::

// web/app_benchmark.php

// ...

// change just this line
$kernel = new AppKernel('benchmark', false);
Expand Down