6.0.0-beta1
10/18/25

[#8115] _detect_webroot does not work in a softlinked directory on linux platform
Summary _detect_webroot does not work in a softlinked directory on linux platform
Queue Horde Base
Queue Version 3.3.3
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester wessel (at) louwris (dot) nl
Created 03/25/2009 (6051 days ago)
Due
Updated 03/25/2009 (6051 days ago)
Assigned
Resolved 03/25/2009 (6051 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/25/2009 10:46:21 AM Jan Schneider Comment #2
State ⇒ Not A Bug
Reply to this comment
registry.php is a configuration file. Configure it, if the default 
settings don't work for you.
03/25/2009 09:05:35 AM wessel (at) louwris (dot) nl Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ _detect_webroot does not work in a softlinked directory on linux platform
Queue ⇒ Horde Base
Milestone ⇒
Patch ⇒ No
Reply to this comment
I installed my horde in horde-webmail-1.2.2 and did a

   % ln -s  horde-webmail-1.2.2 horde

to use horde as URL/working directory.



The /horde/index.php redirect to /login.php (so not to 
/horde/login.php) which resulted in a 404



I found out that the _detect_webroot function in config/registry.php 
returned an empty string in as $webroot, because __FILE__ did not 
match anything from the URL

Saved Queries