Adding template for error box.
[squirrelmail.git] / functions / imap.php
index 1bf3a248048c2be843095c2e0958025841130732..ae7704b38b56064e9c4d8d70aa1e4e76eb8cdb5c 100644 (file)
@@ -1,9 +1,26 @@
-<?
-   /**  This just includes the different sections of the imap functions.
-    **  They have been organized into these sections for simplicity sake.
-    **/
-   
-   include ("../functions/imap_mailbox.php");
-   include ("../functions/imap_messages.php");
-   include ("../functions/imap_general.php");
-?>
+<?php
+
+/**
+ * imap.php
+ *
+ * This just includes the different sections of the imap functions.
+ * They have been organized into these sections for simplicity sake.
+ *
+ * @copyright &copy; 1999-2006 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ * @subpackage imap
+ */
+
+/** Includes */
+require_once(SM_PATH . 'functions/imap_mailbox.php');
+require_once(SM_PATH . 'functions/imap_messages.php');
+require_once(SM_PATH . 'functions/imap_general.php');
+
+/** This is here for bc */
+require_once(SM_PATH . 'functions/date.php');
+require_once(SM_PATH . 'functions/mailbox_display.php');
+require_once(SM_PATH . 'functions/mime.php');
+
+?>
\ No newline at end of file