config.sample
This commit is contained in:
15
config.db.sample.php
Normal file
15
config.db.sample.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?
|
||||
|
||||
$db_server = "mariadb";
|
||||
$db_user = "";
|
||||
$db_passwd = "";
|
||||
|
||||
$db_name = "nrw_melder";
|
||||
$cachetime = 0;
|
||||
|
||||
$location_key="";
|
||||
$mapbox_key="pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw";
|
||||
|
||||
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();}
|
||||
Reference in New Issue
Block a user