Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- imports:
- - { resource: parameters.yml }
- - { resource: security.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%"
- trust_proxy_headers: false # Deprecated in 2.0; will be removed in 2.3 (used trusted_proxies instead)
- trusted_proxies: ~
- session: ~
- # Twig Configuration
- twig:
- debug: "%kernel.debug%"
- strict_variables: "%kernel.debug%"
- # Assetic Configuration
- assetic:
- debug: "%kernel.debug%"
- use_controller: false
- bundles: [ ]
- #java: /usr/bin/java
- filters:
- cssrewrite: ~
- #closure:
- # jar: "%kernel.root_dir%/Resources/java/compiler.jar"
- #yui_css:
- # jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar"
- # Doctrine Configuration
- #doctrine:
- # dbal:
- # driver: "%database_driver%"
- # host: "%database_host%"
- # port: "%database_port%"
- # dbname: "%database_name%"
- # user: "%database_user%"
- # password: "%database_password%"
- # charset: UTF8
- #
- # orm:
- # auto_generate_proxy_classes: "%kernel.debug%"
- # auto_mapping: true
- # Swiftmailer Configuration
- swiftmailer:
- transport: "%mailer_transport%"
- host: "%mailer_host%"
- username: "%mailer_user%"
- password: "%mailer_password%"
- spool: { type: memory }
- # app/config/config.yml
- doctrine:
- orm:
- entity_managers:
- default:
- mappings:
- gedmo_translatable:
- type: annotation
- prefix: Gedmo\Translatable\Entity
- dir: "%kernel.root_dir%/../vendor/gedmo/doctrine-extensions/lib/Gedmo/Translatable/Entity"
- alias: GedmoTranslatable # this one is optional and will default to the name set for the mapping
- is_bundle: false
- gedmo_translator:
- type: annotation
- prefix: Gedmo\Translator\Entity
- dir: "%kernel.root_dir%/../vendor/gedmo/doctrine-extensions/lib/Gedmo/Translator/Entity"
- alias: GedmoTranslator # this one is optional and will default to the name set for the mapping
- is_bundle: false
- gedmo_loggable:
- type: annotation
- prefix: Gedmo\Loggable\Entity
- dir: "%kernel.root_dir%/../vendor/gedmo/doctrine-extensions/lib/Gedmo/Loggable/Entity"
- alias: GedmoLoggable # this one is optional and will default to the name set for the mapping
- is_bundle: false
- gedmo_tree:
- type: annotation
- prefix: Gedmo\Tree\Entity
- dir: "%kernel.root_dir%/../vendor/gedmo/doctrine-extensions/lib/Gedmo/Tree/Entity"
- alias: GedmoTree # this one is optional and will default to the name set for the mapping
- is_bundle: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement