From 7ab17a1af54ab5f80deab96ada5ff4034512b257 Mon Sep 17 00:00:00 2001 From: asohh Date: Sat, 25 Oct 2025 17:33:24 +0200 Subject: [PATCH] added impressum as a var --- docker-compose.yml | 1 + web/www/sunders/config.php | 1 + web/www/sunders/index.php | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index cacf904..128a250 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -30,6 +30,7 @@ services: DEFAULT_LAT: 0 DEFAULT_LON: 0 DEFAULT_LANGUAGE: en + IMPRESSUM_URL: https://hamburg.ccc.de/imprint/ ports: - "8080:80" depends_on: diff --git a/web/www/sunders/config.php b/web/www/sunders/config.php index c874eca..3050d6c 100644 --- a/web/www/sunders/config.php +++ b/web/www/sunders/config.php @@ -5,6 +5,7 @@ define('DEFAULT_LANGUAGE', getenv('DEFAULT_LANGUAGE') ?: 'en'); define('DEFAULT_PIE', 'country'); define('DEFAULT_TIME', 'single'); + define('IMPRESSUM_URL', getenv('IMPRESSUM_URL') ?: ''); define('MYSQL_HOST', getenv('MYSQL_HOST') ?: ''); define('MYSQL_DB', getenv('MYSQL_DB') ?: ''); diff --git a/web/www/sunders/index.php b/web/www/sunders/index.php index af57316..81932de 100644 --- a/web/www/sunders/index.php +++ b/web/www/sunders/index.php @@ -237,7 +237,7 @@




- Impressum + Impressum



-- 2.50.1