From 99ab0367d42d25453cb02669658c141565a165cd Mon Sep 17 00:00:00 2001 From: oricn Date: Thu, 3 Aug 2000 18:06:20 +0000 Subject: [PATCH] Moved the load_prefs include to before the dispayheader call, other wise Plugin prefs arn't loaded b4 the generic header hook. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@674 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/left_main.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/left_main.php b/src/left_main.php index 112ad87b..d6de4f84 100644 --- a/src/left_main.php +++ b/src/left_main.php @@ -32,6 +32,12 @@ 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) { @@ -100,12 +106,6 @@ 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 "\n"; echo "\n"; -- 2.25.1