This commit is contained in:
Walter Hupfeld 2023-03-26 09:17:06 +02:00
parent c22dc49eaf
commit 58a8b88ce5
4 changed files with 12 additions and 6 deletions

View File

@ -5,9 +5,9 @@ date_default_timezone_set('UTC');
// $dbFilename = "db/unfallorte"; // $dbFilename = "db/unfallorte";
// $db = new SQLite3($dbFilename); // $db = new SQLite3($dbFilename);
$db_server = "webserver-db"; $db_server = "mariadb";
$db_user = "unfallstatistik"; $db_user = "root";
$db_passwd = "BCJloVozJbdDHQTS"; $db_passwd = "g0r@w@";
$db = "unfallstatistik"; $db = "unfallstatistik";

View File

@ -1,5 +1,8 @@
<!DOCTYPE html> <!DOCTYPE html>
<?php require_once("config.php") ?> <?php
require_once("config.php");
$strTitle="Datenschutz";
?>
<html lang="de"> <html lang="de">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">

View File

@ -1,6 +1,9 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="de"> <html lang="de">
<?php require_once("config.php") ?> <?php
require_once("config.php");
$strTitle="Impressum";
?>
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">

View File

@ -56,7 +56,7 @@
$strIntro ="<h4>".$strTitle."</h4>"; $strIntro ="<h4>".$strTitle."</h4>";
$strIntro .= nl2br2($strIntroText); $strIntro .= nl2br2($strIntroText);
echo $strLocation;
switch ($numVehicle) { switch ($numVehicle) {
case 1: case 1: