summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2010-03-03 12:20:58 +0000
committerthomascube <thomas@roundcube.net>2010-03-03 12:20:58 +0000
commitb975da27ef82499b2cdcac5080141e7a8f745102 (patch)
tree44804374e9044901185a7110e46a28cedce1c12e /config
parentaba0927545d3bd9998cbcf6bbc2a0b6bfd8d0318 (diff)
Allow admins to define defaults for search modifiers (#1485897)
Diffstat (limited to 'config')
-rw-r--r--config/main.inc.php.dist6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index d9bf34036..819153f76 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -475,5 +475,11 @@ $rcmail_config['sig_above'] = FALSE;
// Use MIME encoding (quoted-printable) for 8bit characters in message body
$rcmail_config['force_7bit'] = FALSE;
+// Defaults of the search field configuration.
+// The array can contain a per-folder list of header fields which should be considered when searching
+// The entry with key '*' stands for all folders which do not have a specific list set.
+// Please note that folder names should to be in sync with $rcmail_config['default_imap_folders']
+$rcmail_config['search_mods'] = null; // Example: array('*' => array('subject'=>1, 'from'=>1), 'Sent' => array('subject'=>1, 'to'=>1));
+
// end of config file
?>