thomascube
2005-10-03 6dc0269fcc9f11fbd53da1fb647237ab73cf394d
program/include/main.inc
@@ -132,9 +132,13 @@
function rcmail_imap_init($connect=FALSE)
  {
  global $CONFIG, $IMAP;
  $IMAP = new rcube_imap();
  // enable caching of imap data
  if ($CONFIG['enable_caching']===TRUE)
    $IMAP->set_caching(TRUE);
  // set root dir from config
  if (strlen($CONFIG['imap_root']))
    $IMAP->set_rootdir($CONFIG['imap_root']);