This commit is contained in:
Copilot 2026-01-12 14:18:04 +01:00 committed by GitHub
commit b60dd2fc5e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -62,12 +62,6 @@ if ($app_links_processed){
}
}
// Workaround to get text with <br> straight to twig.
// Using "nl2br" doesn't work with Twig as it would escape everything by default.
if (isset($UI_TEXTS["ui_footer"])) {
$UI_TEXTS["ui_footer"] = nl2br($UI_TEXTS["ui_footer"]);
}
$globalVariables = [
'mailcow_hostname' => getenv('MAILCOW_HOSTNAME'),
'mailcow_locale' => @$_SESSION['mailcow_locale'],