rework seed generation: this is something that really belongs in init.php
[squirrelmail.git] / functions / imap.php
index 824501ce3a4352b770a9df654186cf6eba7e015c..e4e857235082872b3d85a8db2d470ef87c73fb9d 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 &copy; 1999-2007 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');