Merge pull request 's2' (#8) from b2 into master

Reviewed-on: #8
master
Subhodip Ghosh 2024-12-20 07:37:18 +00:00
commit 5993ada182
1 changed files with 5 additions and 0 deletions

View File

@ -28,6 +28,11 @@
}
}
try {
$conn = new PDO("mysql:host=$mariaServer;dbname=$mariaDb", $mariaUser, $mariaPass);
$conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);