Ticket #1485600: roundcubemail-r2114-folder.patch

File roundcubemail-r2114-folder.patch, 718 bytes (added by kazuhiko, 5 years ago)
  • installer/rcube_install.php

    diff -Nur roundcubemail-r2114/installer/rcube_install.php roundcubemail-r2114-folder/installer/rcube_install.php
    old new  
    174174      else if ($prop == 'smtp_pass' && !empty($_POST['_smtp_user_u'])) { 
    175175        $value = '%p'; 
    176176      } 
     177      else if ($prop == 'default_imap_folders'){ 
     178        $value = Array('INBOX',  
     179                        $this->config['drafts_mbox'], $this->config['junk_mbox'], $this->config['sent_mbox'], $this->config['trash_mbox'] 
     180                      ); 
     181      } 
    177182      else if (is_bool($default)) { 
    178183        $value = (bool)$value; 
    179184      }