From 746bd05d648780cff2dc476b0522619b3f9d89aa Mon Sep 17 00:00:00 2001 From: horus Date: Thu, 1 Jan 2026 23:19:05 +0100 Subject: init --- db_config.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 db_config.php (limited to 'db_config.php') diff --git a/db_config.php b/db_config.php new file mode 100644 index 0000000..d674004 --- /dev/null +++ b/db_config.php @@ -0,0 +1,13 @@ +setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); +} catch(PDOException $e) { + die("DB-Verbindung fehlgeschlagen: " . $e->getMessage()); +} -- cgit v1.2.3