The following files exists in this folder. Click to view.
database.php17 lines ASCII Windows (CRLF)
<?php
$host = '127.0.0.1';
$db = 'Stegen';
$user = 'Intentionally removed by CSource';
$pass = 'root';
$charset = 'utf8mb4';
$dsn = "mysql:host=$host;dbname=$db;charset=$charset";
try {
$conn = new PDO($dsn, $user, $pass);
$conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch(PDOException $e) {
die("Connection failed: " . $e->getMessage());
}
?>