Advertisement
Guest User

Untitled

a guest
Jan 10th, 2016
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.35 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: pl
  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. #assets_version: SomeVersionScheme
  25. default_locale: "%locale%"
  26. trusted_hosts: ~
  27. trusted_proxies: ~
  28. session:
  29. # handler_id set to null will use default session handler from php.ini
  30. handler_id: ~
  31. fragments: ~
  32. http_method_override: true
  33.  
  34. # Twig Configuration
  35. twig:
  36. debug: "%kernel.debug%"
  37. strict_variables: "%kernel.debug%"
  38. form:
  39. resources: ['bootstrap_3_layout.html.twig']
  40. # resources: ['bootstrap_3_horizontal_layout.html.twig']
  41. # Doctrine Configuration
  42. doctrine:
  43. dbal:
  44. driver: pdo_mysql
  45. host: "%database_host%"
  46. port: "%database_port%"
  47. dbname: "%database_name%"
  48. user: "%database_user%"
  49. password: "%database_password%"
  50. charset: UTF8
  51. # if using pdo_sqlite as your database driver:
  52. # 1. add the path in parameters.yml
  53. # e.g. database_path: "%kernel.root_dir%/data/data.db3"
  54. # 2. Uncomment database_path in parameters.yml.dist
  55. # 3. Uncomment next line:
  56. # path: "%database_path%"
  57.  
  58. orm:
  59. auto_generate_proxy_classes: "%kernel.debug%"
  60. naming_strategy: doctrine.orm.naming_strategy.underscore
  61. auto_mapping: true
  62.  
  63. # Swiftmailer Configuration
  64. #swiftmailer:
  65. # transport: %mailer_transport%
  66. # host: %mailer_host%
  67. # username: %mailer_user%
  68. # password: %mailer_password%
  69.  
  70.  
  71. fos_user:
  72. db_driver: orm # other valid values are 'mongodb', 'couchdb' and 'propel'
  73. firewall_name: main
  74. user_class: AppBundle\Entity\User
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement