diff --git a/bundles/phpcr_odm/configuration.rst b/bundles/phpcr_odm/configuration.rst
index ce981ada..52e5a05d 100644
--- a/bundles/phpcr_odm/configuration.rst
+++ b/bundles/phpcr_odm/configuration.rst
@@ -29,7 +29,7 @@ session
# optional parameters for Jackalope
parameters:
jackalope.factory: Jackalope\Factory
- jackalope.check_login_on_server: false
+ jackalope.check_login_on_server: %kernel.debug%
jackalope.disable_stream_wrapper: false
jackalope.auto_lastmodified: true
# see below for how to configure the backend of your choice
@@ -58,7 +58,7 @@ session
type="X"
>
Jackalope\Factory
- false
+ %kernel.debug%
false
true
@@ -79,7 +79,7 @@ session
'type' => 'X',
'parameters' => array(
'jackalope.factory' => 'Jackalope\Factory',
- 'jackalope.check_login_on_server' => false,
+ 'jackalope.check_login_on_server' => '%kernel.debug%',
'jackalope.disable_stream_wrapper' => false,
'jackalope.auto_lastmodified' => true,
),
@@ -160,7 +160,7 @@ Use a custom factory class for Jackalope objects.
jackalope.check_login_on_server
...............................
-**type**: ``boolean`` **default**: ``false``
+**type**: ``boolean`` **default**: ``%kernel.debug%``
If set to ``false``, skip initial check whether repository exists. You will
only notice connectivity problems on the first attempt to use the repository.