Skip to content

Commit

Permalink
Update environments.rst
Browse files Browse the repository at this point in the history
| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3
| Fixed tickets |
  • Loading branch information
ifdattic authored and wouterj committed Jan 17, 2015
1 parent 80fc665 commit ece3904
Showing 1 changed file with 2 additions and 4 deletions.
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
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

0 comments on commit ece3904

Please sign in to comment.