From e36437efb9042e3f7418e79041e106d3c42a5fc0 Mon Sep 17 00:00:00 2001 From: nolanwhy Date: Sat, 4 Feb 2023 22:56:20 +0100 Subject: [PATCH] Update config.php --- core/config.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/config.php b/core/config.php index 7a96552..22c99c8 100644 --- a/core/config.php +++ b/core/config.php @@ -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);