Fix variable name typo
[squirrelmail.git] / functions / imap.php
index fc65a68163ef76c96bec0d4378fa09cec282b246..9aac0075af6f10c8b7bad04d60e42c767636c453 100644 (file)
@@ -1,18 +1,18 @@
 <?php
-   /**  This just includes the different sections of the imap functions.
-    **  They have been organized into these sections for simplicity sake.
-    **
-    **  $Id$
-    **/
 
-   if (defined ('imap_php'))
-      return; 
-   define ('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';
-   
-   require_once('../functions/' . $imap_backend . '_mailbox.php');
-   require_once('../functions/' . $imap_backend . '_messages.php');
-   require_once('../functions/' . $imap_backend . '_general.php');
-   require_once('../functions/' . $imap_backend . '_search.php');
-?>
\ No newline at end of file
+/** Includes */
+include_once(SM_PATH . 'functions/imap_messages.php');
+include_once(SM_PATH . 'functions/imap_general.php');