[Tickets #8605] _detect_webroot doesn't detect webroot

bugs at horde.org bugs at horde.org
Sun Sep 27 20:19:09 UTC 2009


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

Ticket URL: http://bugs.horde.org/ticket/8605
------------------------------------------------------------------------------
  Ticket             | 8605
  Created By         | houdelou at hotmail.com
  Summary            | _detect_webroot doesn't detect webroot
  Queue              | Horde Groupware
  Version            | 1.2.3
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


houdelou at hotmail.com (2009-09-27 16:19) wrote:

If the path relative to the document root is an alias or a symbolic  
link which does not share the same local name on server, it does't  
work because of the following condition :

if (preg_match(';/' . $hordedir . ';', $path)) { ... }

Suppose that $hordedir is /var/www/horde-groupware-1.2.3 and $path is  
/horde, the function will return an empty string.







More information about the bugs mailing list