Kaynağa Gözat

moving include to the top.

tokul 20 yıl önce
ebeveyn
işleme
c866fc3486
1 değiştirilmiş dosya ile 1 ekleme ve 3 silme
  1. 1 3
      functions/imap_general.php

+ 1 - 3
functions/imap_general.php

@@ -16,6 +16,7 @@
 /** Includes.. */
 /** Includes.. */
 require_once(SM_PATH . 'functions/page_header.php');
 require_once(SM_PATH . 'functions/page_header.php');
 require_once(SM_PATH . 'functions/auth.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!";
     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,
  * OBSOLETE FUNCTION should be removed after mailbox_display,
  * printMessage function is adapted
  * printMessage function is adapted