Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Doctrine Configuration
- doctrine:
- dbal:
- driver: pdo_mysql
- host: "%database_host%"
- port: "%database_port%"
- dbname: "%database_name%"
- user: "%database_user%"
- password: "%database_password%"
- charset: UTF8
- # if using pdo_sqlite as your database driver:
- # 1. add the path in parameters.yml
- # e.g. database_path: "%kernel.root_dir%/data/data.db3"
- # 2. Uncomment database_path in parameters.yml.dist
- # 3. Uncomment next line:
- # path: "%database_path%"
- orm:
- auto_generate_proxy_classes: "%kernel.debug%"
- naming_strategy: doctrine.orm.naming_strategy.underscore
- auto_mapping: true
- # Swiftmailer Configuration
- swiftmailer:
- transport: "%mailer_transport%"
- host: "%mailer_host%"
- username: "%mailer_user%"
- password: "%mailer_password%"
- spool: { type: memory }
- knp_menu:
- twig: true
- cmf_core:
- persistence:
- phpcr:
- enabled: true
- sonata_block:
- default_contexts: [sonata_page_bundle]
- blocks:
- sonata.admin.block.admin_list:
- contexts: [admin]
- #sonata.admin_doctrine_orm.block.audit:
- # contexts: [admin]
- sonata.block.service.text:
- sonata.block.service.rss:
- # Some specific block from the SonataMediaBundle
- #sonata.media.block.media:
- #sonata.media.block.gallery:
- #sonata.media.block.feature_media:
- # Some block with different templates
- #acme.demo.block.demo:
- # templates:
- # - { name: 'Simple', template: 'AcmeDemoBundle:Block:demo_simple.html.twig' }
- # - { name: 'Big', template: 'AcmeDemoBundle:Block:demo_big.html.twig' }
- $bundles = array(
- new SymfonyBundleFrameworkBundleFrameworkBundle(),
- new SymfonyBundleSecurityBundleSecurityBundle(),
- new SymfonyBundleTwigBundleTwigBundle(),
- new SymfonyBundleMonologBundleMonologBundle(),
- new SymfonyBundleSwiftmailerBundleSwiftmailerBundle(),
- new DoctrineBundleDoctrineBundleDoctrineBundle(),
- new SensioBundleFrameworkExtraBundleSensioFrameworkExtraBundle(),
- new AppBundleAppBundle(),
- new SymfonyCmfBundleRoutingBundleCmfRoutingBundle(),
- new SymfonyCmfBundleCoreBundleCmfCoreBundle(),
- new SymfonyCmfBundleMenuBundleCmfMenuBundle(),
- new SymfonyCmfBundleContentBundleCmfContentBundle(),
- // Dependencies of the CmfMenuBundle
- new KnpBundleMenuBundleKnpMenuBundle(),
- // Dependencies of the CmfBlockBundle
- new SonataCoreBundleSonataCoreBundle(),
- new SonataBlockBundleSonataBlockBundle()
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement