Skip to content

Instantly share code, notes, and snippets.

@damonjones
Created September 10, 2015 09:46
Show Gist options
  • Save damonjones/2a2bf62cc9bdb28bfe08 to your computer and use it in GitHub Desktop.
Save damonjones/2a2bf62cc9bdb28bfe08 to your computer and use it in GitHub Desktop.
Framework section from the app/config/config.yml
framework:
#esi: ~
translator: { fallback: %locale% }
secret: %secret%
router:
resource: "%kernel.root_dir%/config/routing.yml"
strict_requirements: %kernel.debug%
form: true
csrf_protection: true
validation: { enable_annotations: true }
templating:
engines: ['twig']
#assets_version: SomeVersionScheme
default_locale: %locale%
trusted_proxies: ~
session:
gc_maxlifetime: 1800
gc_probability: 1
gc_divisor: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment