Skip to content

Commit 963526a

Browse files
committed
docs: update description
There is already $DBGroup in the config file.
1 parent 658c517 commit 963526a

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

user_guide_src/source/libraries/sessions.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,8 +620,12 @@ setting**. The examples below work both on MySQL and PostgreSQL::
620620

621621
Uncaught mysqli_sql_exception: Duplicate entry 'ci_session:***' for key 'ci_sessions.PRIMARY'
622622

623-
You can choose the Database group to use by adding a new line to the
624-
**app/Config/Session.php** file with the name of the group to use:
623+
Changing Database Group
624+
^^^^^^^^^^^^^^^^^^^^^^^
625+
626+
The default database group is used by default.
627+
You can change the database group to use by changing the ``$DBGroup`` property
628+
in the **app/Config/Session.php** file to the name of the group to use:
625629

626630
.. literalinclude:: sessions/040.php
627631

0 commit comments

Comments
 (0)