소스 검색

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");
 ?>