2013-08-25, 08:08:21
Hi Mvlcek,
I had a problem with language cookies mainly when switching languages more than once.
In latest Chrome I got that more than one 'language' cookie was being sent to the page (clearing cookies first).
Don't know why happens but I could solve it by replacing
with
in frondend.class.php
Regards,
Mauro.
I had a problem with language cookies mainly when switching languages more than once.
In latest Chrome I got that more than one 'language' cookie was being sent to the page (clearing cookies first).
Don't know why happens but I could solve it by replacing
Code:
setcookie(I18N_LANGUAGE_COOKIE, $_GET[I18N_SET_LANGUAGE_PARAM]);
with
Code:
setcookie(I18N_LANGUAGE_COOKIE, $_GET[I18N_SET_LANGUAGE_PARAM], time()+60*60*24*30, '/', $_SERVER['HTTP_HOST']);
in frondend.class.php
Regards,
Mauro.