]> git.mxchange.org Git - mailer.git/blobdiff - inc/language.php
cookies rewritten to session
[mailer.git] / inc / language.php
index 4790793a23805ddc7ac1e1865125420e089b71c1..4516d20bec9fe07bdd1caf60f82e77ea556fc0d6 100644 (file)
@@ -45,7 +45,7 @@ $file = sprintf(PATH."inc/language/%s.php", $mx_lang);
 if (!file_exists($file))
 {
        // Switch to default (DO NOT CHANGE!!!)
-       @setcookie("mx_lang", "de", (time() + $CONFIG['online_timeout']), COOKIE_PATH);
+       set_session("mx_lang", "de");
        $mx_lang = "de";
        $file = sprintf(PATH."inc/language/%s.php", $mx_lang);
 }