Cleaning and bug-fix. Added base uri to read mail.
[squirrelmail.git] / functions / imap.php
index 824501ce3a4352b770a9df654186cf6eba7e015c..d1d6853671d9256e4d306e0cc72a2f2f9bb93c03 100644 (file)
@@ -1,18 +1,20 @@
 <?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
+ *
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * This just includes the different sections of the imap functions.
+ * They have been organized into these sections for simplicity sake.
+ *
+ * $Id$
+ */
+
+require_once('../functions/imap_mailbox.php');
+require_once('../functions/imap_messages.php');
+require_once('../functions/imap_general.php');
+require_once('../functions/imap_search.php');
 
-   $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');
 ?>