Skip to content

Instantly share code, notes, and snippets.

@awdng
Created November 27, 2013 18:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save awdng/7680431 to your computer and use it in GitHub Desktop.
Save awdng/7680431 to your computer and use it in GitHub Desktop.
# CMF/CMS related stuff
doctrine_phpcr:
session:
backend:
type: doctrinedbal
workspace: default
odm:
auto_mapping: true
sonata_block:
default_contexts: [cms]
cmf_core:
persistence:
phpcr: true
cmf_content:
default_template: ApplicationBiologicaMainBundle:CMS/Page:show.html.twig
persistence:
phpcr:
content_basepath: /cms/content
cmf_routing:
chain:
routers_by_id:
cmf_routing.dynamic_router: 200
router.default: 100
dynamic:
enabled: true
controllers_by_class:
Symfony\Cmf\Bundle\ContentBundle\Doctrine\Phpcr\StaticContent: cmf_content.controller:indexAction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment