fixed bag in roundcube webmail

Alexander A. Boykov a.boykov at sweb.ru
Mon Jul 31 17:38:54 CEST 2006


hello.

maybe it's not bug, but in my system when i create first mailbox and 
login in webmail - there are no folders Sent and Trash.
i read source code and make change:

*** rcube_imap.inc.bak  2006-07-31 19:29:27.000000000 +0400
--- rcube_imap.inc      2006-07-31 19:28:21.000000000 +0400
***************
*** 364,370 ****
--- 364,374 ----
       if (!in_array_nocase('INBOX', $a_folders))
         {
         $this->create_mailbox('INBOX', TRUE);
+       $this->create_mailbox('Sent', TRUE);
+       $this->create_mailbox('Trash', TRUE);
         array_unshift($a_folders, 'INBOX');
+       array_unshift($a_folders, 'Sent');
+       array_unshift($a_folders, 'Trash');
         }

       $a_mailbox_cache = array();

now mailboxes creatres succesfully.
thanks.

-- 
С уважением, Бойков Александр
Системный администратор HighLink
a.boykov at sweb.ru




More information about the Dev mailing list