Moved the load_prefs include to before the dispayheader call, other wise Plugin prefs...
authororicn <oricn@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 3 Aug 2000 18:06:20 +0000 (18:06 +0000)
committeroricn <oricn@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 3 Aug 2000 18:06:20 +0000 (18:06 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@674 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/left_main.php

index 112ad87b7aca3dc1a961b526acf28b002e0a17f4..d6de4f84339266187a97f684ffa6093cd65ef4e0 100644 (file)
    if (!isset($plugin_php))
       include("../functions/plugin.php");
 
+   // open a connection on the imap port (143)
+   $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 10); // the 10 is to hide the output
+
+   /** If it was a successful login, lets load their preferences **/
+   include("../src/load_prefs.php");
+
    displayHtmlHeader();
 
    function formatMailboxName($imapConnection, $mailbox, $real_box, $delimeter, $unseen) {
       return $line;
    }
 
-   // open a connection on the imap port (143)
-   $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 10); // the 10 is to hide the output
-
-   /** If it was a successful login, lets load their preferences **/
-   include("../src/load_prefs.php");
-
    if (isset($left_refresh) && ($left_refresh != "None") && ($left_refresh != "")) {
       echo "<META HTTP-EQUIV=\"Expires\" CONTENT=\"Thu, 01 Dec 1994 16:00:00 GMT\">\n";
       echo "<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">\n";