浏览代码

You havta do http redirect at the end of page.

Ondřej Surý 25 年之前
父节点
当前提交
63028ad12b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/redirect.php

+ 1 - 1
src/redirect.php

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