X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fright_main.php;h=ffe3117b2de2ca22bf10529eb927212e51cdc1b3;hp=32715d63a8fbf95a047f0939eb3e06f2651082d7;hb=aa32c5e4a04adb6e5bc3db6a25ef736ffc267d3a;hpb=20db5033a7f36d40c7fe11d561069de9c9a2a970 diff --git a/src/right_main.php b/src/right_main.php index 32715d63..ffe3117b 100644 --- a/src/right_main.php +++ b/src/right_main.php @@ -1,6 +1,6 @@ /** - ** right_main.php3 + ** right_main.php ** ** This is where the mailboxes are listed. This controls most of what ** goes on in SquirrelMail. @@ -8,7 +8,7 @@ **/ if(!isset($logged_in)) { - echo "You must login first."; + echo "You must login first."; exit; } if(!isset($username) || !isset($key)) { @@ -20,15 +20,15 @@
- include("../config/config.php3"); - include("../functions/imap.php3"); - include("../functions/strings.php3"); - include("../functions/date.php3"); - include("../functions/page_header.php3"); - include("../functions/array.php3"); - include("../functions/mailbox.php3"); - include("../functions/mailbox_display.php3"); - include("../functions/display_messages.php3"); + include("../config/config.php"); + include("../functions/imap.php"); + include("../functions/strings.php"); + include("../functions/date.php"); + include("../functions/page_header.php"); + include("../functions/array.php"); + include("../functions/mailbox.php"); + include("../functions/mailbox_display.php"); + include("../functions/display_messages.php"); ///////////////////////////////////////////////////////////////////////////////// // @@ -47,27 +47,14 @@ // open a connection on the imap port (143) - $imapConnection = fsockopen($imapServerAddress, 143, &$errorNumber, &$errorString); - if (!$imapConnection) { - echo "Error connecting to IMAP Server.