Make sure base_uri is correct (submitted by James Lewis)
[squirrelmail.git] / functions / imap.php
index 2fa499f64be3065665220e68e17d9bc2ab11133c..d1d6853671d9256e4d306e0cc72a2f2f9bb93c03 100644 (file)
@@ -1,14 +1,20 @@
 <?php
-   /**  This just includes the different sections of the imap functions.
-    **  They have been organized into these sections for simplicity sake.
-    **/
 
-   $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");
 ?>