Browse Source

You havta do http redirect at the end of page.

Ondřej Surý 25 years ago
parent
commit
63028ad12b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/redirect.php

+ 1 - 1
src/redirect.php

@@ -23,7 +23,6 @@
 
 
    header("Pragma: no-cache");
    header("Pragma: no-cache");
    $location = get_location();
    $location = get_location();
-   header("Location: $location/webmail.php");
 
 
    session_set_cookie_params (0, $base_uri);
    session_set_cookie_params (0, $base_uri);
    session_start();
    session_start();
@@ -69,4 +68,5 @@
    session_register ("user_is_logged_in");
    session_register ("user_is_logged_in");
    $user_is_logged_in = true;
    $user_is_logged_in = true;
 
 
+   header("Location: $location/webmail.php");
 ?>
 ?>