SSL mode changed to disable

This commit is contained in:
luptmoor
2026-04-21 13:49:10 +02:00
parent 4926433c35
commit 2b1f7e3a38

View File

@@ -33,7 +33,7 @@ try {
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
PDO::ATTR_EMULATE_PREPARES => false
];
$dsn = "pgsql:host=$host;dbname=$db;port=$port";
$dsn = "pgsql:host=$host;dbname=$db;port=$port;sslmode=disable";
$pdo = new PDO($dsn, $user, $pass, $opt);