- added patch from srakhada that uses quotemeta() function around password to allow
[squirrelmail.git] / functions / imap.php
index 1bf3a248048c2be843095c2e0958025841130732..2fa499f64be3065665220e68e17d9bc2ab11133c 100644 (file)
@@ -1,9 +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");
 ?>