From 938d39caecff6dab2540615a36fbe9271365e80f Mon Sep 17 00:00:00 2001 From: tokul Date: Sun, 31 Jul 2005 12:44:39 +0000 Subject: [PATCH] moving include to the top. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9852 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_general.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/functions/imap_general.php b/functions/imap_general.php index c3e3b0e1..f7c18c5c 100755 --- a/functions/imap_general.php +++ b/functions/imap_general.php @@ -16,6 +16,7 @@ /** Includes.. */ require_once(SM_PATH . 'functions/page_header.php'); require_once(SM_PATH . 'functions/auth.php'); +include_once(SM_PATH . 'functions/rfc822address.php'); /** @@ -972,9 +973,6 @@ function sqimap_get_num_messages ($imap_stream, $mailbox) { return false; //"BUG! Couldn't get number of messages in $mailbox!"; } -/** FIXME: include is inserted in the middle of the code */ -include_once(SM_PATH . 'functions/rfc822address.php'); - /** * OBSOLETE FUNCTION should be removed after mailbox_display, * printMessage function is adapted -- 2.25.1