unfallkarte/config.sample.php

20 lines
430 B
PHP
Raw Permalink Normal View History

2023-10-06 12:57:28 +02:00
<?php
date_default_timezone_set('UTC');
2023-10-06 20:27:05 +02:00
$mapbox_token="write_mapbox_token_here";
2023-10-26 11:20:38 +02:00
$db_server = "dev-unfallkarte-db";
2023-10-07 10:56:58 +02:00
$db_user = "root";
2023-10-06 13:08:54 +02:00
$db_passwd = "geheim";
2023-10-06 12:57:28 +02:00
$db = "unfallstatistik";
2023-10-11 10:50:58 +02:00
$cachetime = 0;
2023-10-06 12:57:28 +02:00
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;