summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-09-27 18:40:10 +0000
committeralecpl <alec@alec.pl>2008-09-27 18:40:10 +0000
commite80f502efbc451a02e53502d75956aff973d45ce (patch)
tree8a59a70e72d2a86a1e9c00ce1ec38cd1010771bc
parent5b4562e4942a3ac733723a6a677e35da3b154ddf (diff)
- added 'en_US.utf8' as fallback for setlocale
-rw-r--r--program/include/rcmail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index 33bc38b4b..d07e03c0d 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -170,7 +170,7 @@ class rcmail
$_SESSION['language'] = $this->user->language = $this->language_prop($this->config->get('language', $_SESSION['language']));
// set localization
- setlocale(LC_ALL, $_SESSION['language'] . '.utf8');
+ setlocale(LC_ALL, $_SESSION['language'] . '.utf8', 'en_US.utf8');
}