possible fix for IE/SSL problem
[squirrelmail.git] / functions / imap.php
index 1ef7ace33eb5a6a60ce8d510c23db715fa68a41b..2fa499f64be3065665220e68e17d9bc2ab11133c 100644 (file)
@@ -1,11 +1,14 @@
-<?
+<?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_backend = 'imap';
    
-   include ("../functions/imap_mailbox.php");
-   include ("../functions/imap_messages.php");
-   include ("../functions/imap_general.php");
+   include ("../functions/".$imap_backend."_mailbox.php");
+   include ("../functions/".$imap_backend."_messages.php");
+   include ("../functions/".$imap_backend."_general.php");
+   include ("../functions/".$imap_backend."_search.php");
 ?>