Update config.php

This commit is contained in:
nolanwhy 2023-02-04 22:56:20 +01:00
parent 8d423e4baa
commit e36437efb9
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@ $sql = [
"pass" => ""
];
//fsd
try {
$con = new PDO("mysql:dbname=".$sql["dbname"].";host=".$sql["host"].";port=".$sql["port"], $sql["user"], $sql["pass"]);
$con->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);