Skip to content

Added the file paths in the config reference #7715

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

Merged
merged 1 commit into from
Apr 8, 2017
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions reference/configuration/assetic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Full Default Configuration

.. code-block:: yaml

# app/config/config.yml
assetic:
debug: '%kernel.debug%'
use_controller:
Expand Down Expand Up @@ -61,6 +62,7 @@ Full Default Configuration

.. code-block:: xml

<!-- app/config/config.xml -->
<?xml version="1.0" encoding="UTF-8"?>
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:assetic="http://symfony.com/schema/dic/assetic"
Expand Down
3 changes: 3 additions & 0 deletions reference/configuration/debug.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,13 @@ destination for dumps. Typically, you would set this to ``php://stderr``:

.. code-block:: yaml

# app/config/config.yml
debug:
dump_destination: php://stderr

.. code-block:: xml

<!-- app/config/config.xml -->
<?xml version="1.0" encoding="UTF-8" ?>
<container xmlns="http://symfony.com/schema/dic/debug"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Expand All @@ -73,6 +75,7 @@ destination for dumps. Typically, you would set this to ``php://stderr``:

.. code-block:: php

// app/config/config.php
$container->loadFromExtension('debug', array(
'dump_destination' => 'php://stderr',
));
2 changes: 2 additions & 0 deletions reference/configuration/doctrine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Full Default Configuration

.. code-block:: yaml

# app/config/config.yml
doctrine:
dbal:
default_connection: default
Expand Down Expand Up @@ -183,6 +184,7 @@ Full Default Configuration

.. code-block:: xml

<!-- app/config/config.xml -->
<?xml version="1.0" encoding="UTF-8" ?>
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Expand Down
2 changes: 2 additions & 0 deletions reference/configuration/monolog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Full Default Configuration

.. code-block:: yaml

# app/config/config.yml
monolog:
handlers:

Expand Down Expand Up @@ -76,6 +77,7 @@ Full Default Configuration

.. code-block:: xml

<!-- app/config/config.xml -->
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:monolog="http://symfony.com/schema/dic/monolog"
Expand Down
3 changes: 3 additions & 0 deletions reference/configuration/twig.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ TwigBundle Configuration ("twig")

.. code-block:: yaml

# app/config/config.yml
twig:
exception_controller: twig.controller.exception:showAction

Expand Down Expand Up @@ -54,6 +55,7 @@ TwigBundle Configuration ("twig")

.. code-block:: xml

<!-- app/config/config.xml -->
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:twig="http://symfony.com/schema/dic/twig"
Expand Down Expand Up @@ -83,6 +85,7 @@ TwigBundle Configuration ("twig")

.. code-block:: php

// app/config/config.php
$container->loadFromExtension('twig', array(
'form_themes' => array(
'form_div_layout.html.twig', // Default
Expand Down
2 changes: 2 additions & 0 deletions reference/configuration/web_profiler.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Full Default Configuration

.. code-block:: yaml

# app/config/config.yml
web_profiler:

# DEPRECATED, it is not useful anymore and can be removed
Expand All @@ -31,6 +32,7 @@ Full Default Configuration

.. code-block:: xml

<!-- app/config/config.xml -->
<web-profiler:config
toolbar="false"
verbose="true"
Expand Down