Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

jackalope.check_login_on_server defaults to kernel.debug #723

Merged
merged 1 commit into from
Dec 17, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions bundles/phpcr_odm/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -58,7 +58,7 @@ session
type="X"
>
<parameter key="jackalope.factory">Jackalope\Factory</parameter>
<parameter key="jackalope.check_login_on_server">false</parameter>
<parameter key="jackalope.check_login_on_server">%kernel.debug%</parameter>
<parameter key="jackalope.disable_stream_wrapper">false</parameter>
<parameter key="jackalope.auto_lastmodified">true</parameter>
</backend>
Expand All @@ -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,
),
Expand Down Expand Up @@ -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.
Expand Down