Advertisement
Guest User

Untitled

a guest
Jul 16th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.68 KB | None | 0 0
  1. imports:
  2. - { resource: parameters.yml }
  3. - { resource: security.yml }
  4. - { resource: services.yml }
  5. - { resource: "@McShopUserBundle/Resources/config/services.yml" }
  6. - { resource: "@McShopNewsBundle/Resources/config/services.yml" }
  7. - { resource: "@McShopStaticPageBundle/Resources/config/services.yml" }
  8. - { resource: "@McShopServersBundle/Resources/config/services.yml" }
  9. - { resource: "@McShopFinanceBundle/Resources/config/services.yml" }
  10. - { resource: "@McShopShoppingCartBundle/Resources/config/services.yml" }
  11. - { resource: "@McShopSettingBundle/Resources/config/services.yml" }
  12.  
  13. # Put parameters here that don't need to change on each machine where the app is deployed
  14. # http://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
  15. parameters:
  16. locales: [ 'ru', 'en' ]
  17.  
  18. framework:
  19. #esi: ~
  20. translator: { fallbacks: "%locales%" }
  21. secret: "%secret%"
  22. router:
  23. resource: "%kernel.root_dir%/config/routing.yml"
  24. strict_requirements: ~
  25. form: ~
  26. csrf_protection: ~
  27. validation: { enable_annotations: true }
  28. #serializer: { enable_annotations: true }
  29. templating:
  30. engines: ['twig']
  31. default_locale: "%defaultLocale%"
  32. trusted_hosts: ~
  33. trusted_proxies: ~
  34. session:
  35. # handler_id set to null will use default session handler from php.ini
  36. handler_id: ~
  37. fragments: ~
  38. http_method_override: true
  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. filters:
  67. softdeleteable:
  68. class: Gedmo\SoftDeleteable\Filter\SoftDeleteableFilter
  69. enabled: true
  70.  
  71. # app/config/config.yml
  72. doctrine_migrations:
  73. dir_name: "%kernel.root_dir%/Resources/Migrations"
  74. namespace: Application\Migrations
  75. table_name: migration_versions
  76. name: Application Migrations
  77.  
  78. # Swiftmailer Configuration
  79. swiftmailer:
  80.  
  81. encryption: "%mailer_encryption%"
  82. transport: "%mailer_transport%"
  83. host: "%mailer_host%"
  84. port: "%mailer_port%"
  85. username: "%mailer_user%"
  86. password: "%mailer_password%"
  87. spool: { type: memory }
  88.  
  89. # Captcha
  90. gregwar_captcha:
  91. width: 150
  92. height: 30
  93. length: 6
  94. quality: 70
  95.  
  96. #simple_things_entity_audit:
  97. # audited_entities:
  98. # - McShop\UserBundle\Entity\User
  99. # - McShop\FinanceBundle\Entity\Coupon
  100. # - McShop\FinanceBundle\Entity\Purse
  101. # - McShop\NewsBundle\Entity\Post
  102. # - McShop\StaticPageBundle\Entity\Page
  103. # - McShop\ServersBundle\Entity\Server
  104. # - McShop\ShoppingCartBundle\Entity\ShoppingCartCategory
  105. # - McShop\ShoppingCartBundle\Entity\ShoppingCartItem
  106. # - McShop\ShoppingCartBundle\Entity\ShoppingCart
  107. # global_ignore_columns:
  108. # - created_at
  109. # - updated_at
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement