[dev] Prefs Configuration.

Chuck Hagenbuch chuck@horde.org
Tue, 27 Feb 2001 13:21:27 -0500


Quoting Edwin Culp <eculp@EnContacto.Net>:

> On the latest sources, I decided to test preferences (options) and added
> the
> following, that I have used for some time, to my conf.php.
> $conf['prefs'] = array();
> $conf['prefs']['driver'] = 'mysql';
> $conf['prefs']['params'] = array();
> $conf['prefs']['params']['hostspec'] = 'localhost';
> $conf['prefs']['params']['username'] = '';
> $conf['prefs']['params']['password'] = '';
> $conf['prefs']['params']['database'] = 'horde';
> $conf['prefs']['params']['table'] = 'user_webmail_prefs';
> 
> I got an error message and realized that mysql is no longer valid.  What
> should I do to get it back up using mysql? 

Set the driver to 'sql'; then set one additional parameter 'phptype' = 'mysql', 
and you should be all set.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"We have no fuel on board, plus or minus 8 kilograms." -A NASA scientist