drnk.me/persistence/connection.php
2023-11-29 22:17:08 +01:00

7 lines
132 B
PHP

<?php
return (function() {
require(ROOT . "/credentials.php");
return new PDO($DB_DSN, $DB_USERNAME, $DB_PASSWORD);
})();