[imp] using a user pref to set a value in conf.php

Jan Schneider jan at horde.org
Tue Feb 1 10:55:27 PST 2005


Zitat von Liam Hoekenga <liamr at umich.edu>:

> Our antispam solution has two classes of users.  People who can "train" their
> spam filters,  and people who have a "generic" set of filters.  I've 
> created a
> horde pref "spam_trainer", and I'd like to be able to determine the 
> behavior of
> the spam reporting links based on whether this preference is set or not.
>
> So.... I guess the question is, how to get access to the preferences scope
> inside of config/conf.php?

That's not possible, because the configuration is loaded before the
preferences.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the imp mailing list