Skip to content

Update database.rst #13879

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 22, 2020
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
4 changes: 2 additions & 2 deletions session/database.rst
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ first register a new handler service with your database credentials:

<services>
<service id="Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler" public="false">
<argument>env(DATABASE_URL)</argument>
<argument>%env(DATABASE_URL)%</argument>

<!-- you can also use PDO configuration, but requires passing two arguments: -->
<!-- <argument>mysql:dbname=mydatabase, host=myhost</argument>
Expand Down Expand Up @@ -296,7 +296,7 @@ passed to the ``PdoSessionHandler`` service:

<services>
<service id="Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler" public="false">
<argument>env(DATABASE_URL)</argument>
<argument>%env(DATABASE_URL)%</argument>
<argument type="collection">
<argument key="db_table">customer_session</argument>
<argument key="db_id_col">guid</argument>
Expand Down