<?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-2014 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');