1
0
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:
Matt Friedman 2014-05-02 12:10:59 -07:00
parent 78325736b1
commit 5b0b0d7c66
2 changed files with 2 additions and 2 deletions

View File

@ -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();
}

View File

@ -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();
}