Skip to content

Commit 59d1dfd

Browse files
authored
Update database.rst
1 parent 6eda9de commit 59d1dfd

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)