From f3bf3d7af452591f790843497263bd64d83b5d53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Wed, 5 Sep 2001 19:25:57 +0000 Subject: [PATCH] the language cookie is set only by the "main.php3" script and its duration is now 30 days --- select_lang.inc.php3 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/select_lang.inc.php3 b/select_lang.inc.php3 index 0dd79164e..ebb724fe6 100755 --- a/select_lang.inc.php3 +++ b/select_lang.inc.php3 @@ -157,10 +157,7 @@ if (empty($lang)) { $lang = $cfgDefaultLang; } -// Puts the retained language in a cookie that will expire in one year -setcookie('lang', $lang, time() + 60*60*24*365); - -// Defines the associated filename and load the translation +// 4. Defines the associated filename and load the translation $lang_file = $lang_path . $available_languages[$lang][1] . '.inc.php3'; require('./' . $lang_file); ?> \ No newline at end of file