added impressum as a var #20

Merged
asohh merged 1 commit from impressum-as-var into main 2025-10-25 17:37:10 +02:00
3 changed files with 3 additions and 1 deletions
Showing only changes of commit 7ab17a1af5 - Show all commits

added impressum as a var
All checks were successful
Build (and tag) Images / build (push) Successful in 49s
Build (and tag) Images / build (pull_request) Successful in 47s

asohh 2025-10-25 17:33:24 +02:00

View file

@ -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:

View file

@ -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') ?: '');

View file

@ -237,7 +237,7 @@
<br><br>
&#x2756;
<br><br><br>
<a href="https://hamburg.ccc.de/imprint/">Impressum</a>
<a href="<?php echo IMPRESSUM_URL?>">Impressum</a>
<br><br>
<?php echo translate($i18nCommon, $i18nCommonDefault, 'gdpr', [], [], []); ?>
<br><br>