charset totals
[squirrelmail.git] / src / redirect.php
index 4f5dd86780400c59a23150e2380ec91a3c7c1bd9..a071a71cba0d569775e62f4714bc57bb8e5e9258 100644 (file)
@@ -40,6 +40,7 @@ $base_uri = sqm_baseuri();
 header('Pragma: no-cache');
 $location = get_location();
 
+session_set_cookie_params (0, $base_uri);
 sqsession_is_active();
 
 sqsession_unregister ('user_is_logged_in');
@@ -49,7 +50,7 @@ sqsession_register ($base_uri, 'base_uri');
 sqGetGlobalVar('login_username', $login_username);
 sqGetGlobalVar('secretkey', $secretkey);
 if(!sqGetGlobalVar('squirrelmail_language', $squirrelmail_language) || $squirrelmail_language == '') {
-       $squirrelmail_language = $squirrelmail_default_language;
+    $squirrelmail_language = $squirrelmail_default_language;
 }
 if (!sqgetGlobalVar('mailto', $mailto)) {
     $mailto = '';
@@ -175,4 +176,4 @@ function attachment_common_parse($str, $debug) {
     sqsession_register($attachment_common_types, 'attachment_common_types');
 }
 
-?>
+?>
\ No newline at end of file