@@ -226,10 +226,10 @@ as well as some jackrabbit-specific options:
226
226
'session' => array(
227
227
'backend' => array(
228
228
'type' => 'jackrabbit',
229
- 'url' => 'http://localhost:8080/server/'
229
+ 'url' => 'http://localhost:8080/server/',
230
230
'parameters' => array(
231
- 'jackalope.default_header': 'X-ID: %serverid%',
232
- 'jackalope.jackrabbit_expect': true,
231
+ 'jackalope.default_header' => 'X-ID: %serverid%',
232
+ 'jackalope.jackrabbit_expect' => true,
233
233
),
234
234
),
235
235
),
@@ -318,7 +318,7 @@ transactions):
318
318
'nodes' => 'liip_doctrine_cache.ns.nodes'
319
319
),
320
320
'parameters' => array(
321
- 'jackalope.disable_transactions'= false,
321
+ 'jackalope.disable_transactions' => false,
322
322
),
323
323
),
324
324
),
@@ -389,6 +389,7 @@ The session backend configuration looks as follows:
389
389
session :
390
390
backend :
391
391
type : midgard2
392
+ config : /path/to/midgard-config.ini
392
393
db_type : MySQL
393
394
db_name : midgard2_test
394
395
db_host : " 0.0.0.0"
@@ -397,6 +398,7 @@ The session backend configuration looks as follows:
397
398
db_password : " "
398
399
db_init : true
399
400
blobdir : /tmp/cmf-blobs
401
+ loglevel : debug
400
402
.. code-block :: xml
401
403
402
404
<!-- app/config/config.xml -->
@@ -405,6 +407,7 @@ The session backend configuration looks as follows:
405
407
<config xmlns =" http://example.org/schema/dic/doctrine_phpcr" >
406
408
<session >
407
409
<backend type =" midgard2"
410
+ config =" /path/to/midgard-config.ini"
408
411
db-type =" MySQL"
409
412
db-name =" midgard2_test"
410
413
db-host =" 0.0.0.0"
@@ -413,6 +416,7 @@ The session backend configuration looks as follows:
413
416
db-password =" "
414
417
db-init =" true"
415
418
blobdir =" /tmp/cmf-blobs"
419
+ loglevel =" debug"
416
420
/>
417
421
</backend >
418
422
</session >
@@ -426,13 +430,15 @@ The session backend configuration looks as follows:
426
430
'session' => array(
427
431
'backend' => array(
428
432
'type' => 'midgard2',
433
+ 'config' => '/path/to/midgard-config.ini',
429
434
'db_name' => 'midgard2_test',
430
435
'db_host' => '0.0.0.0',
431
436
'db_port' => 3306,
432
437
'db_username' => '',
433
438
'db_password' => '',
434
439
'db_init' => true,
435
440
'blobdir' => '/tmp/cmf-blobs",
441
+ 'loglevel' => 'debug',
436
442
),
437
443
),
438
444
));
@@ -567,7 +573,7 @@ You can also enable `metadata caching`_.
567
573
>
568
574
<mappings >
569
575
<"name"
570
- mapping="true
576
+ mapping="true"
571
577
type="null"
572
578
dir="null"
573
579
alias="null"
@@ -677,7 +683,8 @@ documentation on Multilanguage`_.
677
683
'en' => array('de', 'fr'),
678
684
'de' => array('en', 'fr'),
679
685
'fr' => array('en', 'de'),
680
- 'locale_fallback' => 'hardcoded'
686
+ ),
687
+ 'locale_fallback' => 'hardcoded',
681
688
)
682
689
);
683
690
@@ -785,6 +792,7 @@ to use as ``default_session``.
785
792
<!-- as above -->
786
793
</option >
787
794
</session >
795
+ </session >
788
796
</config >
789
797
</container >
790
798
@@ -944,6 +952,7 @@ A full example looks as follows:
944
952
>
945
953
<backend type =" jackrabbit" url =" %magnolia_url%" />
946
954
</session >
955
+ </session >
947
956
948
957
<odm auto_generate_proxy_classes =" %kernel.debug%" >
949
958
<document-manager
@@ -990,7 +999,7 @@ A full example looks as follows:
990
999
),
991
1000
'website' => array(
992
1001
'backend' => array(
993
- 'type' => 'jackrabbit,
1002
+ 'type' => 'jackrabbit' ,
994
1003
'url' => '%magnolia_url%',
995
1004
),
996
1005
'workspace' => 'website',
@@ -999,14 +1008,15 @@ A full example looks as follows:
999
1008
),
1000
1009
'dms' => array(
1001
1010
'backend' => array(
1002
- 'type' => 'jackrabbit,
1011
+ 'type' => 'jackrabbit' ,
1003
1012
'url' => '%magnolia_url%',
1004
1013
),
1005
1014
'workspace' => 'dms',
1006
1015
'username' => '%magnolia_user%',
1007
1016
'password' => '%magnolia_pass%',
1008
1017
),
1009
-
1018
+ ),
1019
+ ),
1010
1020
'odm' => array(
1011
1021
'auto_generate_proxy_classes' => '%kernel.debug%',
1012
1022
'document_managers' => array(
@@ -1021,12 +1031,14 @@ A full example looks as follows:
1021
1031
),
1022
1032
'website' => array(
1023
1033
'session' => 'website',
1034
+ 'configuration_id' => 'sandbox_magnolia.odm_configuration',
1024
1035
'mappings' => array(
1025
1036
'SandboxMagnoliaBundle' => null,
1026
1037
),
1027
1038
),
1028
1039
'dms' => array(
1029
1040
'session' => 'dms',
1041
+ 'configuration_id' => 'sandbox_magnolia.odm_configuration',
1030
1042
'mappings' => array(
1031
1043
'SandboxMagnoliaBundle' => null,
1032
1044
),
0 commit comments