diff options
author | Friendika <info@friendika.com> | 2011-05-23 17:18:36 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-05-23 17:18:36 -0700 |
commit | 3e6180183bdc01edfa01dc4b966daa4081c29604 (patch) | |
tree | 57cc791da7766c07f6c3dcb323ba8539cef9cd23 /boot.php | |
parent | 3ea145fae7defaf959b04797afc8482bd0190352 (diff) | |
download | volse-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.php | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 +}} + |