Browse Source

* Fixed the MOTD

Tyler Akins 24 năm trước cách đây
mục cha
commit
32bee6dcc2
2 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 2 0
      src/redirect.php
  2. 1 2
      src/webmail.php

+ 2 - 0
src/redirect.php

@@ -86,6 +86,8 @@
 
    $user_is_logged_in = true;
    session_register ('user_is_logged_in');
+   $just_logged_in = true;
+   session_register ('just_logged_in');
 
    if(isset($rcptemail))
       header("Location: webmail.php?right_frame=compose.php&rcptaddress=$rcptemail");

+ 1 - 2
src/webmail.php

@@ -83,8 +83,7 @@
    } else if ($right_frame == 'compose.php') {
       $right_frame_url = "compose.php?send_to=$rcptaddress";
    } else {
-      if (!isset($just_logged_in)) $just_logged_in = 0;
-      $right_frame_url = "right_main.php?just_logged_in=$just_logged_in";
+      $right_frame_url = "right_main.php";
    }
 
    if ($location_of_bar == 'right')