diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-11-09 07:54:34 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-11-09 07:54:34 +0000 |
| commit | a4e6eeebb0e974c7dfd0cb55bc4cc14b33eb8608 (patch) | |
| tree | 4b6c30c8fbe8566324ac2b3b5e7ca2082b23f46f /roundcubemail/installer/rcube_install.php | |
| parent | 49102254714eca756a9f9cc95b47419e13eae763 (diff) | |
- Add support for shared folders (#1403507)
git-svn-id: https://svn.roundcube.net/trunk@4198 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/installer/rcube_install.php')
| -rw-r--r-- | roundcubemail/installer/rcube_install.php | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/roundcubemail/installer/rcube_install.php b/roundcubemail/installer/rcube_install.php index 677dda1e5..69be02563 100644 --- a/roundcubemail/installer/rcube_install.php +++ b/roundcubemail/installer/rcube_install.php @@ -38,6 +38,7 @@ class rcube_install 'locale_string' => 'language', 'multiple_identities' => 'identities_level', 'addrbook_show_images' => 'show_images', + 'imap_root' => 'imap_ns_personal', ); // these config options are required for a working system @@ -169,16 +170,17 @@ class rcube_install else if ($prop == 'smtp_pass' && !empty($_POST['_smtp_user_u'])) { $value = '%p'; } - else if ($prop == 'default_imap_folders'){ - $value = Array(); - foreach($this->config['default_imap_folders'] as $_folder){ - switch($_folder) { - case 'Drafts': $_folder = $this->config['drafts_mbox']; break; - case 'Sent': $_folder = $this->config['sent_mbox']; break; - case 'Junk': $_folder = $this->config['junk_mbox']; break; - case 'Trash': $_folder = $this->config['trash_mbox']; break; + else if ($prop == 'default_imap_folders') { + $value = Array(); + foreach ($this->config['default_imap_folders'] as $_folder) { + switch($_folder) { + case 'Drafts': $_folder = $this->config['drafts_mbox']; break; + case 'Sent': $_folder = $this->config['sent_mbox']; break; + case 'Junk': $_folder = $this->config['junk_mbox']; break; + case 'Trash': $_folder = $this->config['trash_mbox']; break; } - if (!in_array($_folder, $value)) $value[] = $_folder; + if (!in_array($_folder, $value)) + $value[] = $_folder; } } else if (is_bool($default)) { |
