Skip to content

Removed the full config dump of FrameworkBundle #10005

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
Jul 3, 2018
Merged
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
138 changes: 0 additions & 138 deletions reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1672,144 +1672,6 @@ value.
For more information, see
:ref:`component-serializer-converting-property-names-when-serializing-and-deserializing`.

Full Default Configuration
--------------------------

.. configuration-block::

.. code-block:: yaml

framework:
secret: ~
http_method_override: true
trusted_proxies: []
ide: ~
test: ~
default_locale: en

csrf_protection:
enabled: false
field_name: _token # Deprecated since 2.4, to be removed in 3.0. Use form.csrf_protection.field_name instead

# form configuration
form:
enabled: false
csrf_protection:
enabled: true
field_name: ~

# esi configuration
esi:
enabled: false

# fragments configuration
fragments:
enabled: false
path: /_fragment

# profiler configuration
profiler:
enabled: false
collect: true
only_exceptions: false
only_master_requests: false
dsn: file:%kernel.cache_dir%/profiler
username: ~ # deprecated since 2.8, to be removed in 3.0.
password: ~ # deprecated since 2.8, to be removed in 3.0.
lifetime: 86400 # deprecated since 2.8, to be removed in 3.0.
matcher:
ip: ~

# use the urldecoded format
path: ~ # Example: ^/path to resource/
service: ~

# router configuration
router:
resource: ~ # Required
type: ~
http_port: 80
https_port: 443

# * set to true to throw an exception when a parameter does not
# match the requirements
# * set to false to disable exceptions when a parameter does not
# match the requirements (and return null instead)
# * set to null to disable parameter checks against requirements
#
# 'true' is the preferred configuration in development mode, while
# 'false' or 'null' might be preferred in production
strict_requirements: true

# session configuration
session:
storage_id: session.storage.native
handler_id: session.handler.native_file
name: ~
cookie_lifetime: ~
cookie_path: ~
cookie_domain: ~
cookie_secure: ~
cookie_httponly: ~
gc_divisor: ~
gc_probability: ~
gc_maxlifetime: ~
save_path: '%kernel.cache_dir%/sessions'

# serializer configuration
serializer:
enabled: false

# assets configuration
assets:
base_path: ~
base_urls: []
version: ~
version_format: '%%s?%%s'
packages:

# Prototype
name:
base_path: ~
base_urls: []
version: ~
version_format: '%%s?%%s'

# templating configuration
templating:
hinclude_default_template: ~
form:
resources:

# Default:
- FrameworkBundle:Form
cache: ~
engines: # Required

# Example:
- twig
loaders: []

# translator configuration
translator:
enabled: false
fallbacks: [en]
logging: "%kernel.debug%"
paths: []

# validation configuration
validation:
enabled: false
cache: ~
enable_annotations: false
translation_domain: validators

# annotation configuration
annotations:
cache: file
file_cache_dir: '%kernel.cache_dir%/annotations'
debug: '%kernel.debug%'

.. _`HTTP Host header attacks`: http://www.skeletonscribe.net/2013/05/practical-http-host-header-attacks.html
.. _`Security Advisory Blog post`: https://symfony.com/blog/security-releases-symfony-2-0-24-2-1-12-2-2-5-and-2-3-3-released#cve-2013-4752-request-gethost-poisoning
.. _`Doctrine Cache`: http://docs.doctrine-project.org/projects/doctrine-common/en/latest/reference/caching.html
Expand Down