check if safe_mode is enabled (putenv is not allowed then) and
[squirrelmail.git] / functions / imap.php
index 44c63bdae089d7aabb7b09edc59e79245224451b..2fa499f64be3065665220e68e17d9bc2ab11133c 100644 (file)
@@ -1,10 +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");
 ?>
-