[Tickets #2516] RESOLVED: horde directory name (applicationurl)
bugs@bugs.horde.org
bugs at bugs.horde.org
Thu Aug 25 16:01:07 PDT 2005
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=2516
-----------------------------------------------------------------------
Ticket | 2516
Updated By | nick-horde at glued2.net
Summary | horde directory name (applicationurl)
Queue | Horde Base
Version | 3.0.5
State | Bogus
Priority | 1. Low
Type | Bug
Owners |
-----------------------------------------------------------------------
nick-horde at glued2.net (2005-08-25 16:01) wrote:
Sorry - it wasn't the support aspect I was after, it was more my surprise
that horde couldn't correctly figure this out on it's own and that it had
actually got it wrong - and what was clear was that it was looking for the
word horde (and the first occurance). I did find the offending code the
strstr statement in the registry strstr being the first occurance of the
word horde (or first occurance of the first value in the array). I guess
checking it the otherway around (for the last occurance) doesn't make sense
as that would trip up with any folders called horde under the document root.
I did wonder about checking the number of occurances, and just using the
/horde fall back if there was more than one, or doing a comparison with the
document root, or checking that a directory exists once the result is
checked - but I guess it all adds overhead.
Many Thanks
Nick.
More information about the bugs
mailing list