mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/12254] Add subsilver2 support for cookie storage instead of SID
PHPBB3-12254
This commit is contained in:
parent
78325736b1
commit
5b0b0d7c66
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue