From baecd8becccd7786632c1cda895123293ceb1408 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Thu, 26 Jul 2012 17:18:38 +0200 Subject: Move the hard-coded list of fields used to list contacts to a central location --- program/include/rcube_config.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'program/include/rcube_config.php') diff --git a/program/include/rcube_config.php b/program/include/rcube_config.php index 1b621e0fc..9db746fe8 100644 --- a/program/include/rcube_config.php +++ b/program/include/rcube_config.php @@ -49,6 +49,11 @@ class rcube_config public function __construct() { $this->load(); + + // Defaults, that we do not require you to configure, + // but contain information that is used in various + // locations in the code: + $this->set('contactlist_fields', array('name', 'firstname', 'surname', 'email')); } -- cgit v1.2.3