File tree Expand file tree Collapse file tree 1 file changed +19
-14
lines changed
Expand file tree Collapse file tree 1 file changed +19
-14
lines changed Original file line number Diff line number Diff line change @@ -62,14 +62,6 @@ public function prepend(ContainerBuilder $container)
6262 )
6363 );
6464 break ;
65- /*
66- case 'cmf_blog':
67- $prependConfig = array(
68- 'use_sonata_admin' => $persistenceConfig['use_sonata_admin'],
69- 'blog_basepath' => $persistenceConfig['basepath'].'/content',
70- );
71- break;
72- */
7365 case 'cmf_content ' :
7466 $ prependConfig = array (
7567 'persistence ' => array (
@@ -81,16 +73,29 @@ public function prepend(ContainerBuilder $container)
8173 )
8274 );
8375 break ;
84- /*
8576 case 'cmf_create ' :
8677 $ prependConfig = array (
87- 'phpcr_odm' => true,
88- 'image' => array(
89- 'static_basepath' => $persistenceConfig['basepath'].'/content/static',
90- ),
78+ 'persistence ' => array (
79+ 'phpcr ' => array (
80+ 'enabled ' => $ persistenceConfig ['enabled ' ],
81+ 'image ' => array (
82+ 'basepath ' => $ persistenceConfig ['basepath ' ].'/media ' ,
83+ )
84+ )
85+ )
86+ );
87+ break ;
88+ case 'cmf_media ' :
89+ $ prependConfig = array (
90+ 'persistence ' => array (
91+ 'phpcr ' => array (
92+ 'enabled ' => $ persistenceConfig ['enabled ' ],
93+ 'media_basepath ' => $ persistenceConfig ['basepath ' ].'/media ' ,
94+ 'manager_name ' => $ persistenceConfig ['manager_name ' ],
95+ )
96+ )
9197 );
9298 break ;
93- */
9499 case 'cmf_menu ' :
95100 $ prependConfig = array (
96101 'persistence ' => array (
You can’t perform that action at this time.
0 commit comments