[imp] Hook _username_hook_frombackend() Question

Jan Schneider jan at horde.org
Sat Dec 27 02:13:19 PST 2003


Zitat von Mike Bydalek <mbydalek at zivix.com>:

> Figues, I went through and saw the _imp_hook_vinfo function but I don't
> want
> the HTTP info to be pulled for the $vdomain.  To hack around it, I just
> modified imp/lib/Session.php and changed the line to:
>
> $_SESSION['imp']['user'] = $imapuser . '@domain.com';
>
> which works for what I need.  If there's a better way to do it, by all
> means
> please let me know =)

The "correct" way is still to use the vinfo hook. Create a custom hook that
does what you want, the existing ones are only examples.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - Neue Wege des Lernens
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the imp mailing list