summaryrefslogtreecommitdiff
path: root/config/main.inc.php.dist
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-09-03 16:03:19 +0000
committerthomascube <thomas@roundcube.net>2008-09-03 16:03:19 +0000
commitc8ae2497b7e4c7393210ed186acd672a0040389f (patch)
treeb21442a9fff2d15cee5809db3d532d8ef378da37 /config/main.inc.php.dist
parent7003206d64c83534f29d1eb9dfc53edf993baf5b (diff)
Auto-detect client language and timezone if desired by config/prefs
Diffstat (limited to 'config/main.inc.php.dist')
-rw-r--r--config/main.inc.php.dist7
1 files changed, 4 insertions, 3 deletions
diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index 09fad199c..fcf7e8fff 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -129,8 +129,9 @@ $rcmail_config['double_auth'] = false;
// please provide a string of exactly 24 chars.
$rcmail_config['des_key'] = 'rcmail-!24ByteDESkey*Str';
-// the default locale setting
-$rcmail_config['language'] = 'en_US';
+// the default locale setting (leave empty for auto-detection)
+// RFC1766 formatted language name like en_US, de_DE, de_CH, fr_FR, pt_BR
+$rcmail_config['language'] = null;
// use this format for short date display
$rcmail_config['date_short'] = 'D H:i';
@@ -338,7 +339,7 @@ $rcmail_config['skin'] = 'default';
$rcmail_config['pagesize'] = 40;
// use this timezone to display date/time
-$rcmail_config['timezone'] = intval(date('O'))/100 - date('I');
+$rcmail_config['timezone'] = 'auto';
// is daylight saving On?
$rcmail_config['dst_active'] = (bool)date('I');