register_globals=off fix for squirrelmail_language extraction from cookie.
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 8 Apr 2005 11:46:26 +0000 (11:46 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 8 Apr 2005 11:46:26 +0000 (11:46 +0000)
commit0d7a48b0434d790b9aff76569ade97cba60bd4dd
tree3bf2372ed553f60c93d0fc802e1d673c6538a9fb
parent995970c0243e056ef8557a44d3ac089ed07cfc15
register_globals=off fix for squirrelmail_language extraction from cookie.

if default squirrelmail language is set to empty string, detect default
language from HTTP_ACCEPT_LANGUAGE (#764709).

explained both tests that control language selection.

make set_my_charset work correctly when default sm language is empty.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9225 7612ce4b-ef26-0410-bec9-ea0150e637f0
functions/i18n.php