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

bugs at bugs.horde.org bugs at bugs.horde.org
Tue Oct 9 08:56:33 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4126
-----------------------------------------------------------------------
 Ticket             | 4126
 Updated By         | Jan Schneider <jan at horde.org>
 Summary            | Make registry.php webroot path detection more reliable
 Queue              | Horde Base
 Version            | HEAD
 Type               | Enhancement
 State              | Resolved
 Priority           | 1. Low
 Owners             | Jan Schneider
-----------------------------------------------------------------------


Jan Schneider <jan at horde.org> (2007-10-09 01:56) wrote:

This is a nice idea, but technically not that easy. config.php is loaded
before registry.php, so the method would have to be moved to config.php,
but this file is automatically generated and should not contain any
functions. We can't move the function to the Registry class either, since
the webroot detection relies on the filesystem path of the current file,
and Registry.php can be at different locations related to the horde root
directory.
But any ideas how to solve this issue are welcome.



More information about the bugs mailing list