Advertisement
Guest User

Untitled

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