Create an insecure bank application

This commit is contained in:
Lukas committed 2024-06-01 15:13:50 +02:00
commit 2133574cae
40 files changed
+1370

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
<?php
declare(strict_types=1);
namespace Controller;
require_once __DIR__ . '/../../config.php';
class Sql
{
public static function connection(): \PDO
{
return new \PDO(CONFIG_SQL_DSN, CONFIG_SQL_USER, CONFIG_SQL_PASSWORD);
}
}