Advertisement
Guest User

Untitled

a guest
Dec 11th, 2016
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. imports:
  2. - { resource: parameters.yml }
  3. - { resource: security.yml }
  4. - { resource: services.yml }
  5. - { resource: "@BlogBundle/Resources/config/services.yml" }
  6. - { resource: "@ArticleBundle/Resources/config/services.yml" }
  7. - { resource: "@SocialBundle/Resources/config/services.yml" }
  8. - { resource: "@ConversationBundle/Resources/config/services.yml" }
  9.  
  10. # Put parameters here that don't need to change on each machine where the app is deployed
  11. # http://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
  12. parameters:
  13. locale: en
  14. banniere_directory: '%kernel.root_dir%/../web/uploads/banniere'
  15.  
  16. framework:
  17. #esi: ~
  18. #translator: { fallbacks: ["%locale%"] }
  19. secret: "%secret%"
  20. router:
  21. resource: "%kernel.root_dir%/config/routing.yml"
  22. strict_requirements: ~
  23. form: ~
  24. csrf_protection: ~
  25. validation: { enable_annotations: true }
  26. #serializer: { enable_annotations: true }
  27. templating:
  28. engines: ['twig']
  29. default_locale: "%locale%"
  30. trusted_hosts: ~
  31. trusted_proxies: ~
  32. session:
  33. # http://symfony.com/doc/current/reference/configuration/framework.html#handler-id
  34. handler_id: session.handler.native_file
  35. save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%"
  36. fragments: ~
  37. http_method_override: true
  38. assets: ~
  39.  
  40. # Twig Configuration
  41. twig:
  42. debug: "%kernel.debug%"
  43. strict_variables: "%kernel.debug%"
  44.  
  45. # Doctrine Configuration
  46. doctrine:
  47. dbal:
  48. driver: pdo_mysql
  49. host: "%database_host%"
  50. port: "%database_port%"
  51. dbname: "%database_name%"
  52. user: "%database_user%"
  53. password: "%database_password%"
  54. charset: UTF8
  55. # if using pdo_sqlite as your database driver:
  56. # 1. add the path in parameters.yml
  57. # e.g. database_path: "%kernel.root_dir%/data/data.db3"
  58. # 2. Uncomment database_path in parameters.yml.dist
  59. # 3. Uncomment next line:
  60. # path: "%database_path%"
  61.  
  62. orm:
  63. auto_generate_proxy_classes: "%kernel.debug%"
  64. naming_strategy: doctrine.orm.naming_strategy.underscore
  65. auto_mapping: true
  66.  
  67. # Swiftmailer Configuration
  68. swiftmailer:
  69. transport: "%mailer_transport%"
  70. host: "%mailer_host%"
  71. username: "%mailer_user%"
  72. password: "%mailer_password%"
  73. spool: { type: memory }
  74.  
  75. fos_user:
  76. db_driver: orm # other valid values are 'mongodb' and 'couchdb'
  77. firewall_name: main
  78. user_class: AppBundle\Entity\User
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement