From b8655869c72f85eecbf26660d6c03f67c5e6fbc9 Mon Sep 17 00:00:00 2001 From: kenjis Date: Sat, 13 Apr 2024 13:41:50 +0900 Subject: [PATCH] docs: fix Postgre DSN sample See "Table 33.1. SSL Mode Descriptions" in https://www.postgresql.org/docs/12/libpq-ssl.html#LIBPQ-SSL-PROTECTION --- user_guide_src/source/database/configuration/010.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_guide_src/source/database/configuration/010.php b/user_guide_src/source/database/configuration/010.php index de06d231b015..d1f89b31fa64 100644 --- a/user_guide_src/source/database/configuration/010.php +++ b/user_guide_src/source/database/configuration/010.php @@ -10,7 +10,7 @@ class Database extends Config // Postgre public array $default = [ - 'DSN' => 'Postgre://username:password@hostname:5432/database?charset=utf8&connect_timeout=5&sslmode=1', + 'DSN' => 'Postgre://username:password@hostname:5432/database?charset=utf8&connect_timeout=5&sslmode=require', // ... ];