Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- imports:
- - { resource: parameters.yml }
- - { resource: security.yml }
- - { resource: services.yml }
- # Put parameters here that don't need to change on each machine where the app is deployed
- # http://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
- parameters:
- locale: fr
- img_product_directory: '%kernel.root_dir%/../web/img/product'
- img_posts_directory: '%kernel.root_dir%/../web/img/posts'
- img_fixture: '%kernel.root_dir%/../web/img/fixtures'
- framework:
- #esi: ~
- #translator: { fallbacks: ["%locale%"] }
- secret: "%secret%"
- router:
- resource: "%kernel.root_dir%/config/routing.yml"
- strict_requirements: ~
- form: ~
- csrf_protection: ~
- validation: { enable_annotations: true }
- # serializer: { enable_annotations: true }
- serializer: true
- templating:
- engines: ['twig']
- default_locale: "%locale%"
- trusted_hosts: ~
- trusted_proxies: ~
- session:
- # http://symfony.com/doc/current/reference/configuration/framework.html#handler-id
- handler_id: session.handler.native_file
- save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%"
- cookie_lifetime: 5400
- gc_maxlifetime: 20
- cookie_domain: 'www.mealandbox.fr'
- fragments: ~
- http_method_override: true
- assets: ~
- # Twig Configuration
- twig:
- debug: "%kernel.debug%"
- strict_variables: "%kernel.debug%"
- form_theme:
- 'bootstrap_3_layout.html.twig'
- # Doctrine Configuration
- doctrine:
- dbal:
- driver: pdo_mysql
- host: "%database_host%"
- dbname: "%database_name%"
- user: "%database_user%"
- password: "%database_password%"
- port: "%database_port%"
- charset: UTF8
- mapping_types:
- enum: string
- # if using pdo_sqlite as your database driver:
- # 1. add the path in parameters.yml
- # e.g. database_path: "%kernel.root_dir%/data/data.db3"
- # 2. Uncomment database_path in parameters.yml.dist
- # 3. Uncomment next line:
- # path: "%database_path%"
- orm:
- auto_generate_proxy_classes: "%kernel.debug%"
- naming_strategy: doctrine.orm.naming_strategy.underscore
- 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
- # hwi_oauth:
- # resource_owners:
- # facebook:
- # type: resource_owner_of_choice
- # client_id: <client_id>
- # client_secret: <client_secret>
- # options:
- # csrf: true
- fos_js_routing:
- routes_to_expose: [page_moncompte_resetpassword,admin_utilisateurs_filter,panierpage,deleteproductpage,productdetailpage,productfilterpage,changeQuantity]
- white_october_breadcrumbs:
- separator: ''
- separatorClass: 'sepaseparatorrator'
- listId: 'wo-breadcrumbs'
- listClass: 'breadcrumb'
- itemClass: ''
- linkRel: ''
- locale: ~ # defaults to null, so the default locale is used
- translation_domain: ~ # defaults to null, so the default domain is used
- viewTemplate: 'WhiteOctoberBreadcrumbsBundle::breadcrumbs.html.twig'
- # pdf creator
- knp_snappy:
- pdf:
- enabled: true
- binary: '%kernel.root_dir%/../vendor/h4cc/wkhtmltopdf-amd64/bin/wkhtmltopdf-amd64'
- options:
- - { name: 'viewport-size', value: ‘1024x768’ }
- - { name: 'page-size', value: 'A4' }
- jms_serializer:
- handlers:
- datetime:
- default_format: "Y-m-d\\TH:i:sP"
- default_timezone: "UTC"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement