[dev] [patch] custom hook for adding headers in imp
Jan Schneider
jan at horde.org
Tue Dec 6 11:49:48 PST 2005
Zitat von Michael M Slusarz <slusarz at bigworm.curecanti.org>:
> Quoting Oliver Kuhl <okuhl at netcologne.de>:
>
>> Hi,
>>
>> the functionality for adding custom headers to every email via
>> headers.txt didn't fit my requirements. Thus I implemented another hook
>> _imp_hook_header(), which is more flexible. I need this to add an
>> authentication-header, which holds the encrypted username of the
>> authenticated user.
>>
>> Patches are attached. Would be nice if this could make it into cvs. ;-)
>
> I'm wondering if we should instead alter headers.txt to allow PHP
> expressions in there (i.e. doing a 'require' on a headers.php). I
> would rather not have code to alter header generation in two different
> places.
Agreed.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the dev
mailing list