You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
unfallkarte/config.sample.php

20 lines
430 B

8 months ago
<?php
date_default_timezone_set('UTC');
8 months ago
$mapbox_token="write_mapbox_token_here";
8 months ago
$db_server = "dev-unfallkarte-db";
8 months ago
$db_user = "root";
8 months ago
$db_passwd = "geheim";
8 months ago
$db = "unfallstatistik";
8 months ago
$cachetime = 0;
8 months ago
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;