[Tickets #4126] Re: Make registry.php webroot path detection more reliable

bugs@bugs.horde.org bugs at bugs.horde.org
Thu Jan 11 21:15:34 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         | Ben Klang <ben at alkaloid.net>
 Summary            | Make registry.php webroot path detection more reliable
 Queue              | Horde Base
 Version            | HEAD
 Type               | Enhancement
-State              | Assigned
+State              | Feedback
 Priority           | 1. Low
 Owners             | Ben Klang
-----------------------------------------------------------------------


Ben Klang <ben at alkaloid.net> (2007-01-11 21:15) wrote:

Can you give me an example of your webroot?  Did your modification make
path detection work, or just avoid checks that would fail anyway?

Also, the way you reordered the checks mean that the check for
$_SERVER['SCRIPT_URL'] and $_SERVER['SCRIPT_NAME'] will never be reached
if $_SERVER['PHP_SELF'] is not set.  Was that intentional?  I don't know
under what circumstances that would be true, but I do not see any reason
why the latter should depend on the former.




More information about the bugs mailing list