unfallkarte/config.sample.php
Walter Hupfeld 6b233bd192 docker
2023-10-06 13:08:54 +02:00

17 lines
363 B
PHP

<?php
date_default_timezone_set('UTC');
$db_server = "mariadb";
$db_user = "dbuser";
$db_passwd = "geheim";
$db = "unfallstatistik";
try {
$db = new PDO('mysql:host='.$db_server.';dbname='.$db.';charset=utf8mb4', $db_user, $db_passwd);
} catch (PDOException $e) {echo "Fehler: ".$e->getMessage(); die();}
$numStartYear=2019;
$numLatestYear=2022;