Fix variable name typo
[squirrelmail.git] / functions / imap.php
index 2fa499f64be3065665220e68e17d9bc2ab11133c..9aac0075af6f10c8b7bad04d60e42c767636c453 100644 (file)
@@ -1,14 +1,18 @@
 <?php
-   /**  This just includes the different sections of the imap functions.
-    **  They have been organized into these sections for simplicity sake.
-    **/
 
-   $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-2020 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');