[Tickets #4126] NEW: Make registry.php webroot path detection more reliable
bugs@bugs.horde.org
bugs at bugs.horde.org
Thu Jul 6 23:01:10 PDT 2006
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: https://dev.horde.org/horde/whups/ticket/?id=4126
-----------------------------------------------------------------------
Ticket | 4126
Created By | Ben Klang <ben at alkaloid.net>
Summary | Make registry.php webroot path detection more reliable
Queue | Horde Base
Version | HEAD
State | New
Priority | 1. Low
Type | Enhancement
Owners |
+New Attachment | reliable-path-detection.php
-----------------------------------------------------------------------
Ben Klang <ben at alkaloid.net> (2006-07-06 23:01) wrote:
One issue I've always had with my Horde installs has been the automatic
path detection in config/registry.php. Tonight I took some time to try
to find a better solution and I believe I found it. This checks for the
server variable $_SERVER['SCRIPT_URL'] and bases its guess off that. In
my tests it is reliable in many URL rewriting schemes as long as the base
directory of horde is still visible in the URL path. It also works if
Horde is installed to '/'.
In case SCRIPT_URL is not available it will still fall back to the old
method.
More information about the bugs
mailing list