melder/config.db.php

17 lines
436 B
PHP
Raw Normal View History

2024-02-17 08:42:54 +01:00
<?
$db_server = "mariadb";
$db_user = "root";
$db_passwd = "g0r@w@";
$db_name = "nrw_melder";
$cachetime = 0;
2024-02-18 10:40:48 +01:00
$location_key="8b0d633d90b501";
2024-02-18 10:57:42 +01:00
$mapbox_key="pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw";
2024-02-18 10:40:48 +01:00
2024-02-17 08:42:54 +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();}