melder/config.db.sample.php

16 lines
323 B
PHP
Raw Permalink Normal View History

2024-02-18 10:40:48 +01:00
<?
$db_server = "mariadb";
$db_user = "";
$db_passwd = "";
$db_name = "nrw_melder";
$cachetime = 0;
$location_key="";
2024-03-11 23:06:15 +01:00
$mapbox_key="";
2024-02-18 10:40:48 +01:00
try {
$db = new PDO('mysql:host='.$db_server.';dbname='.$db_name.';charset=utf8mb4', $db_user, $db_passwd);
} catch (PDOException $e) {echo "Fehler: ".$e->getMessage(); die();}