From 963526a5179af0b0c294b538c4dc2e9ab12f4135 Mon Sep 17 00:00:00 2001 From: kenjis Date: Mon, 19 Jun 2023 09:47:49 +0900 Subject: [PATCH] docs: update description There is already $DBGroup in the config file. --- user_guide_src/source/libraries/sessions.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/user_guide_src/source/libraries/sessions.rst b/user_guide_src/source/libraries/sessions.rst index 50e14ebf4ff0..3be10a013ddd 100644 --- a/user_guide_src/source/libraries/sessions.rst +++ b/user_guide_src/source/libraries/sessions.rst @@ -620,8 +620,12 @@ setting**. The examples below work both on MySQL and PostgreSQL:: Uncaught mysqli_sql_exception: Duplicate entry 'ci_session:***' for key 'ci_sessions.PRIMARY' -You can choose the Database group to use by adding a new line to the -**app/Config/Session.php** file with the name of the group to use: +Changing Database Group +^^^^^^^^^^^^^^^^^^^^^^^ + +The default database group is used by default. +You can change the database group to use by changing the ``$DBGroup`` property +in the **app/Config/Session.php** file to the name of the group to use: .. literalinclude:: sessions/040.php