[Tickets #4126] Re: Make registry.php webroot path detection more reliable
bugs@bugs.horde.org
bugs at bugs.horde.org
Fri Mar 2 00:03:16 PST 2007
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://dev.horde.org/horde/whups/ticket/?id=4126
-----------------------------------------------------------------------
Ticket | 4126
Updated By | tinu at humbapa.ch
Summary | Make registry.php webroot path detection more reliable
Queue | Horde Base
Version | HEAD
Type | Enhancement
State | Feedback
Priority | 1. Low
Owners | Ben Klang
-----------------------------------------------------------------------
tinu at humbapa.ch (2007-03-02 00:03) wrote:
https://secure.humbapa.ch/agolution.ch/intern/whups/
works (returns 'intern')
http://bugs.agolution.ch/whups/
doesn't work (returns also 'intern' but should be '' -> I wrote that wrong
on my last comment, sorry!)
I think it doesn't work because of this part:
if (strstr($webroot, $hordedir) === false) {
...
at this position $webroot is not set, so strstr will allways return false
More information about the bugs
mailing list