[imp] Folders config 3.1

Phil Dibowitz phil@ipom.com
Wed, 29 May 2002 09:47:05 -0700

John Casebeer wrote:

> Thanks,
> I am still not sure what SQL has to do with the folders. I also found no 
> no SQL stuff at the bottom of horde/config/horde.php. Any more info 
> would be great.

As far as the "Folders" button I'm not sure, the only thing I can think of is 
when you created the user as user.bob or just bob? Needs to be user.bob.

As far as the "Options" button - that's where SQL comes in. IMP uses Horder to 
store options in an SQL table, look for:

  ** Preference System Settings

/* What preferences driver should we use? Valid values are 'none'
  * (meaning use system defaults and don't save any user preferences),
  * 'session' (preferences only persist during the login), 'ldap',
  * and 'sql'.
$conf['prefs']['driver'] = 'sql';

/* Any parameters that the preferences driver needs. This includes
  * database or ldap server, username/password to connect with, etc.
$conf['prefs']['params'] = array();

/* This is an example configuration for a MySQL preference backend.
  * Be sure to set the prefs driver to 'sql' above if you use this
  * configuration.
$conf['prefs']['params']['phptype'] = 'mysql';
$conf['prefs']['params']['hostspec'] = '';


"They that can give up essential liberty to obtain a little temporary safety 
deserve neither liberty nor safety."
-Benjamin Franklin, 1759