Skip to content

Instantly share code, notes, and snippets.

@seiffert
Created December 11, 2011 18:30
Show Gist options
  • Save seiffert/1461969 to your computer and use it in GitHub Desktop.
Save seiffert/1461969 to your computer and use it in GitHub Desktop.
Mayflower Blog - ZF vs. Symfony2 - config.yml
# app/config.yml
#
# remove the line that imports parameters.ini
imports:
- { resource: security.yml }
framework:
#esi: ~
#translator: { fallback: %locale% }
secret: %secret%
charset: UTF-8
router: { resource: "%kernel.root_dir%/config/routing.yml" }
form: true
csrf_protection: true
validation: { enable_annotations: true }
templating: { engines: ['twig'] } #assets_version: SomeVersionScheme
session:
default_locale: %locale%
auto_start: true
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment