modified connection settings in init.php
This commit is contained in:
@@ -17,7 +17,7 @@ if (file_exists($envFile)) {
|
||||
|
||||
// Defines Environment Variables
|
||||
$host = getenv('POSTGRES_HOSTNAME');
|
||||
$port = 5432;
|
||||
$port = getenv('POSTGRES_PORT');
|
||||
$db = getenv('POSTGRES_DB');
|
||||
$user = getenv('POSTGRES_USER');
|
||||
$pass = getenv('POSTGRES_PASSWORD');
|
||||
|
||||
@@ -31,9 +31,11 @@ if (!$municipality) {
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Bürgerbeteiligungsportal <?= htmlspecialchars($municipality['name']) ?></title>
|
||||
<link rel="icon" href="assets/icon-municipality.png" type="image/png">
|
||||
<meta name="description" content="Bürgerbeteiligungsportal der Stadt Lohne (Oldenburg). Hinweise und Vorschläge auf der Karte eintragen.">
|
||||
|
||||
|
||||
<!-- ============================================================= -->
|
||||
<!-- Loads CSS Dependencies -->
|
||||
<!-- Loads CSS Dependencies -->
|
||||
<!-- ============================================================= -->
|
||||
|
||||
<!-- Leaflet -->
|
||||
@@ -64,16 +66,12 @@ if (!$municipality) {
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
|
||||
<!-- ============================================================= -->
|
||||
<!-- Municipality Theme (loaded from Database) -->
|
||||
<!-- Municipality Theme loaded from Database -->
|
||||
<!-- ============================================================= -->
|
||||
<style>
|
||||
:root {
|
||||
--color-primary: <?= htmlspecialchars($municipality['primary_color']) ?>;
|
||||
--color-primary-light: <?= htmlspecialchars($municipality['primary_color']) ?>22;
|
||||
--color-primary-dark: <?= htmlspecialchars($municipality['primary_color']) ?>;
|
||||
--map-center-lat: <?= $municipality['center_lat'] ?>;
|
||||
--map-center-lng: <?= $municipality['center_lng'] ?>;
|
||||
--map-default-zoom: <?= $municipality['default_zoom'] ?>;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user