This commit is contained in:
2024-03-29 17:30:25 +01:00
parent 7619856ef2
commit 9b0ff69205
6 changed files with 19 additions and 17 deletions

View File

@ -1,6 +1,4 @@
<?php
$config = require_once __DIR__ . '/../config.php';
$db = new PDO(
$config->sql->dsn,
$config->sql->user,
@ -10,4 +8,3 @@ $db = new PDO(
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_OBJ
]
);
?>