[imp] imp 2.3.6-cvs

Chuck Hagenbuch chuck@horde.org
Wed, 11 Oct 2000 15:07:16 -0400


Quoting Scott Martin <martin@math.ohiou.edu>:

> I already renamed the prefs.php.dist to prefs.php on the day I installed.
> What else am I missing? What do you do with the preferences section of the
> conf.php?

If you look in the dev@lists.horde.org archives, you'll find a sample
configuration and sql layout. Mine looks like this:

$conf['prefs'] = array();
$conf['prefs']['driver'] = 'sql';
$conf['prefs']['params'] = array();
$conf['prefs']['params']['phptype'] = 'mysql';
$conf['prefs']['params']['hostspec'] = 'localhost';
$conf['prefs']['params']['username'] = 'horde';
$conf['prefs']['params']['password'] = '***';
$conf['prefs']['params']['database'] = 'horde';
$conf['prefs']['params']['table'] = 'user_webmail_prefs';

And the table:

mysql> describe user_webmail_prefs;
+------------+-------------+------+-----+---------+-------+
| Field      | Type        | Null | Key | Default | Extra |
+------------+-------------+------+-----+---------+-------+
| uid        | varchar(32) |      | PRI |         |       |
| pref_name  | varchar(32) |      | PRI |         |       |
| pref_value | text        | YES  |     | NULL    |       |
+------------+-------------+------+-----+---------+-------+
3 rows in set (0.05 sec)


-chuck

--
Charles Hagenbuch, <chuck@horde.org>
--
How many rednecks does it take eat a 'possum? Two. One to eat, and one to
watch out for traffic.