Public exposure warning on affected network group pages. config-able so a plugin can shut it up.
This commit is contained in:
parent
b500da74b6
commit
9b50b0e16f
4 changed files with 26 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue