Enable logged in users to force a certain language
This commit is contained in:
parent
b440b4c338
commit
33f7fd72ca
|
@ -74,6 +74,10 @@ class L10n extends BaseObject
|
|||
}
|
||||
}
|
||||
}
|
||||
//if $_GET['lang'] is set force $_GET['lang']
|
||||
if (isset($_GET['lang'])) {
|
||||
$_SESSION['language'] = $_GET['lang'];
|
||||
}
|
||||
}
|
||||
|
||||
public static function setLangFromSession()
|
||||
|
|
Loading…
Reference in a new issue