X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flanguage-functions.php;h=f2fe7a9536d422c83e12a0a6c2a53c94b503b724;hb=8dc09e2333cff56caa7719bf1089d068cd21b7c3;hp=1936842e75f3d78e1fcc06993408753e1092fbc2;hpb=c2e17d983fcbc0c3bd1dd37908d87c678f0367df;p=mailer.git diff --git a/inc/language-functions.php b/inc/language-functions.php index 1936842e75..f2fe7a9536 100644 --- a/inc/language-functions.php +++ b/inc/language-functions.php @@ -83,8 +83,11 @@ function getCurrentLanguage () { // "Getter" for language function getLanguage () { + // Default is 'de'. DO NOT CHANGE THIS!!! + $ret = 'de'; + // Set default return value to default language from config - $ret = getConfig('DEFAULT_LANG'); + if (isConfigEntrySet('DEFAULT_LANG')) $ret = getConfig('DEFAULT_LANG'); // Init variable $lang = '';