aboutsummaryrefslogtreecommitdiffstats
path: root/include/config_default.inc.php
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2008-05-31 11:43:13 +0000
committervdigital <vdigital@piwigo.org>2008-05-31 11:43:13 +0000
commit6d8c172ee2e06b2f9e14f9189273403a990cdefa (patch)
tree44ceb3d753a5242fe58379ff020c49cd904c5640 /include/config_default.inc.php
parent93a4c7a150346956c8a53a0255d1e4ed6c334260 (diff)
Feature 0000080: Browser language detection (Use first active browser language as language for guest, generic members, registering process). If the language is not available PHPWG_DEFAULT_LANGUAGE is used as previously.
git-svn-id: http://piwigo.org/svn/trunk@2371 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/config_default.inc.php')
-rw-r--r--include/config_default.inc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/config_default.inc.php b/include/config_default.inc.php
index f5c9d64c8..e7a8c117d 100644
--- a/include/config_default.inc.php
+++ b/include/config_default.inc.php
@@ -473,6 +473,10 @@ $conf['guest_id'] = 2;
// default_user_id : id of user used for default value
$conf['default_user_id'] = $conf['guest_id'];
+// Registering process and guest/generic members get language from the browser
+// if language isn't available PHPWG_DEFAULT_LANGUAGE is used as previously
+$conf['browser_language'] = true;
+
// webmaster_id : webmaster'id.
$conf['webmaster_id'] = 1;