aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-23 17:18:36 -0700
committerFriendika <info@friendika.com>2011-05-23 17:18:36 -0700
commit3e6180183bdc01edfa01dc4b966daa4081c29604 (patch)
tree57cc791da7766c07f6c3dcb323ba8539cef9cd23 /boot.php
parent3ea145fae7defaf959b04797afc8482bd0190352 (diff)
downloadvolse-hubzilla-3e6180183bdc01edfa01dc4b966daa4081c29604.tar.gz
volse-hubzilla-3e6180183bdc01edfa01dc4b966daa4081c29604.tar.bz2
volse-hubzilla-3e6180183bdc01edfa01dc4b966daa4081c29604.zip
improved browser language detect, set user language on login
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index 1a6bf622c..48d0d79ad 100644
--- a/boot.php
+++ b/boot.php
@@ -4,7 +4,7 @@ set_time_limit(0);
ini_set('pcre.backtrack_limit', 250000);
-define ( 'FRIENDIKA_VERSION', '2.2.988' );
+define ( 'FRIENDIKA_VERSION', '2.2.989' );
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
define ( 'DB_UPDATE_VERSION', 1054 );
@@ -2707,6 +2707,8 @@ function unamp($s) {
}}
+
+
if(! function_exists('lang_selector')) {
function lang_selector() {
global $lang;
@@ -2748,4 +2750,5 @@ function is_site_admin() {
if(local_user() && x($a->user,'email') && x($a->config,'admin_email') && ($a->user['email'] === $a->config['admin_email']))
return true;
return false;
-}} \ No newline at end of file
+}}
+