All of a sudden, I was getting weird redirects to URLs like
example.com/imp/imp during logins - because webroot was example.com/imp
This might be an artifact of new sidebar code (?)
If you want the application's webroot, I believe this is what
Horde::applicationUrl() is for.
}
/* Store the webroot in a local variable. */
- $webroot = $registry->get('webroot');
+ $webroot = $registry->get('webroot', 'horde');
/* Don't prepend to webroot if it's already absolute. */
$url = preg_match('|^([\w+-]{1,20})://|', $webroot)