Skip to content

Commit 70154c7

Browse files
committed
minor #13879 Update database.rst (atailouloute)
This PR was merged into the 4.4 branch. Discussion ---------- Update database.rst Small fix Commits ------- 59d1dfd Update database.rst
2 parents 03655ac + 59d1dfd commit 70154c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

session/database.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ first register a new handler service with your database credentials:
204204
205205
<services>
206206
<service id="Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler" public="false">
207-
<argument>env(DATABASE_URL)</argument>
207+
<argument>%env(DATABASE_URL)%</argument>
208208
209209
<!-- you can also use PDO configuration, but requires passing two arguments: -->
210210
<!-- <argument>mysql:dbname=mydatabase, host=myhost</argument>
@@ -296,7 +296,7 @@ passed to the ``PdoSessionHandler`` service:
296296
297297
<services>
298298
<service id="Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler" public="false">
299-
<argument>env(DATABASE_URL)</argument>
299+
<argument>%env(DATABASE_URL)%</argument>
300300
<argument type="collection">
301301
<argument key="db_table">customer_session</argument>
302302
<argument key="db_id_col">guid</argument>

0 commit comments

Comments
 (0)