[horde] Horde initial application

Chuck Hagenbuch chuck at horde.org
Tue Nov 29 11:45:52 PST 2005


Quoting garnier at embratel.com.br:

> I´m trying to configure IMP (4.0.3) as Horde (3.0.5) initial application.
> I´ve already changed $_prefs['initial_application'] on
> horde/config/prefs.php to 'imp', but it didn´t work.
> I´ve found that inside function _newSessionUrl (on horde/imp/redirect.php),
> if Horde authentication provider is IMP (my case), $url variable is set to:
> $url = Horde::applicationUrl($GLOBALS['registry']->get('webroot', 'horde')
> . '/', true);
>
> I changed this line to:
> $url = Horde::applicationUrl($GLOBALS['registry']->get('webroot', 'imp') .
> '/', true);
>
> And it worked. Did I do anything I shouldn´t?

Yes.

> Is there a reason why $url is set to horde application, and not 
> $_prefs['initial_application']?

Because Horde makes sure you're in the frameset (if requested), and 
honors the initial_application preference itself.

-chuck

-- 
"So we're talking near-sonic speeds for a vegetable."
Reasons to go to the Punkin Chunkin World Championships


More information about the horde mailing list