Squash bugs
[squirrelmail.git] / functions / imap.php
index b0a24be7b3ff4fb6e62695f318fd5ef7cebd5ecb..4b6dbe992d78ecfc150dc6d2e5e144cb34a5b40c 100644 (file)
@@ -1,16 +1,18 @@
 <?php
-   /**  This just includes the different sections of the imap functions.
-    **  They have been organized into these sections for simplicity sake.
-    **
-    **  $Id$
-    **/
 
-   $imap_php = true;
+/**
+ * imap.php
+ *
+ * This just includes the different sections of the imap functions.
+ * They have been organized into these sections for simplicity sake.
+ *
+ * @copyright 1999-2016 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ * @subpackage imap
+ */
 
-   $imap_backend = 'imap';
-   
-   include ("../functions/".$imap_backend."_mailbox.php");
-   include ("../functions/".$imap_backend."_messages.php");
-   include ("../functions/".$imap_backend."_general.php");
-   include ("../functions/".$imap_backend."_search.php");
-?>
+/** Includes */
+include_once(SM_PATH . 'functions/imap_messages.php');
+include_once(SM_PATH . 'functions/imap_general.php');