Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2016
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.62 KB | None | 0 0
  1. # Doctrine Configuration
  2. doctrine:
  3. dbal:
  4. driver: pdo_mysql
  5. host: "%database_host%"
  6. port: "%database_port%"
  7. dbname: "%database_name%"
  8. user: "%database_user%"
  9. password: "%database_password%"
  10. charset: UTF8
  11. # if using pdo_sqlite as your database driver:
  12. # 1. add the path in parameters.yml
  13. # e.g. database_path: "%kernel.root_dir%/data/data.db3"
  14. # 2. Uncomment database_path in parameters.yml.dist
  15. # 3. Uncomment next line:
  16. # path: "%database_path%"
  17.  
  18. orm:
  19. auto_generate_proxy_classes: "%kernel.debug%"
  20. naming_strategy: doctrine.orm.naming_strategy.underscore
  21. auto_mapping: true
  22.  
  23. # Swiftmailer Configuration
  24. swiftmailer:
  25. transport: "%mailer_transport%"
  26. host: "%mailer_host%"
  27. username: "%mailer_user%"
  28. password: "%mailer_password%"
  29. spool: { type: memory }
  30.  
  31. knp_menu:
  32. twig: true
  33.  
  34. cmf_core:
  35. persistence:
  36. phpcr:
  37. enabled: true
  38.  
  39. sonata_block:
  40. default_contexts: [sonata_page_bundle]
  41. blocks:
  42. sonata.admin.block.admin_list:
  43. contexts: [admin]
  44.  
  45. #sonata.admin_doctrine_orm.block.audit:
  46. # contexts: [admin]
  47.  
  48. sonata.block.service.text:
  49. sonata.block.service.rss:
  50.  
  51. # Some specific block from the SonataMediaBundle
  52. #sonata.media.block.media:
  53. #sonata.media.block.gallery:
  54. #sonata.media.block.feature_media:
  55.  
  56. # Some block with different templates
  57. #acme.demo.block.demo:
  58. # templates:
  59. # - { name: 'Simple', template: 'AcmeDemoBundle:Block:demo_simple.html.twig' }
  60. # - { name: 'Big', template: 'AcmeDemoBundle:Block:demo_big.html.twig' }
  61.  
  62. $bundles = array(
  63. new SymfonyBundleFrameworkBundleFrameworkBundle(),
  64. new SymfonyBundleSecurityBundleSecurityBundle(),
  65. new SymfonyBundleTwigBundleTwigBundle(),
  66. new SymfonyBundleMonologBundleMonologBundle(),
  67. new SymfonyBundleSwiftmailerBundleSwiftmailerBundle(),
  68. new DoctrineBundleDoctrineBundleDoctrineBundle(),
  69. new SensioBundleFrameworkExtraBundleSensioFrameworkExtraBundle(),
  70. new AppBundleAppBundle(),
  71. new SymfonyCmfBundleRoutingBundleCmfRoutingBundle(),
  72. new SymfonyCmfBundleCoreBundleCmfCoreBundle(),
  73. new SymfonyCmfBundleMenuBundleCmfMenuBundle(),
  74. new SymfonyCmfBundleContentBundleCmfContentBundle(),
  75.  
  76. // Dependencies of the CmfMenuBundle
  77. new KnpBundleMenuBundleKnpMenuBundle(),
  78.  
  79. // Dependencies of the CmfBlockBundle
  80. new SonataCoreBundleSonataCoreBundle(),
  81. new SonataBlockBundleSonataBlockBundle()
  82. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement