summaryrefslogtreecommitdiff
path: root/php/admin
diff options
context:
space:
mode:
authorThomas Arendsen Hein <thomas@intevation.de>2007-02-05 13:51:42 (GMT)
committerThomas Arendsen Hein <thomas@intevation.de>2007-02-05 13:51:42 (GMT)
commita4d9232007ce7840c4fda8f7e1f83dec36a53aa6 (patch)
tree87d6cc422be6d9b36a5d282b07a45d9be7163828 /php/admin
parenta814bcf2cccd8b85f697a46eb8fb276daf7ed9a1 (diff)
downloadkolab-webadmin-a4d9232007ce7840c4fda8f7e1f83dec36a53aa6.tar.gz
Fix kolab/issue1592 (LANGUAGE variable overrides web admin language selection)
fbview already used putenv to set LANGUAGE to the desired value, doing the same in kolab-webadmin/kolab-webadmin/php/admin/include/locale.php now.
Diffstat (limited to 'php/admin')
-rw-r--r--php/admin/include/locale.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/php/admin/include/locale.php b/php/admin/include/locale.php
index e010b12..ce7e7fd 100644
--- a/php/admin/include/locale.php
+++ b/php/admin/include/locale.php
@@ -103,6 +103,7 @@ if(!empty($_REQUEST["lang"])) {
// I18N support information
$language = getLanguage();
putenv("LANG=$language");
+putenv("LANGUAGE=$language");
setlocale(LC_ALL, $language);
$domain = "messages";