mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 12:03:21 +01:00
[ticket/12254] Add subsilver2 support for cookie storage instead of SID
PHPBB3-12254
This commit is contained in:
parent
78325736b1
commit
5b0b0d7c66
@ -10,8 +10,8 @@
|
||||
*/
|
||||
function change_language(lang_iso)
|
||||
{
|
||||
document.cookie = '{COOKIE_NAME}_lang=' + lang_iso + '; path={COOKIE_PATH}';
|
||||
document.forms['register'].change_lang.value = lang_iso;
|
||||
document.forms['register'].language.value = lang_iso;
|
||||
document.forms['register'].submit();
|
||||
}
|
||||
|
||||
|
@ -7,8 +7,8 @@
|
||||
*/
|
||||
function change_language(lang_iso)
|
||||
{
|
||||
document.cookie = '{COOKIE_NAME}_lang=' + lang_iso + '; path={COOKIE_PATH}';
|
||||
document.forms['register'].change_lang.value = lang_iso;
|
||||
document.forms['register'].language.value = lang_iso;
|
||||
document.forms['register'].submit.click();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user