Public exposure warning on affected network group pages. config-able so a plugin can shut it up.

This commit is contained in:
Friendika
2011-04-03 20:41:40 -07:00
parent b500da74b6
commit 9b50b0e16f
4 changed files with 26 additions and 7 deletions

View File

@@ -42,10 +42,6 @@ if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
} else {
$lang = ((isset($a->config['system']['language'])) ? $a->config['system']['language'] : 'en');
}
if(x($_POST,'system_language'))
if(x($_SESSION,'language'))
$lang = $_SESSION['language'];
load_translation_table($lang);