run both pathnames trough realpath to compare equal names

This commit is contained in:
Lars Kneschke 2007-02-11 12:04:15 +00:00
parent 0f11596866
commit aa55c600be

View File

@ -76,7 +76,7 @@
}
if ($check_in_docroot)
{
$docroots = array(EGW_SERVER_ROOT,$_SERVER['DOCUMENT_ROOT']);
$docroots = array(realpath(EGW_SERVER_ROOT),realpath($_SERVER['DOCUMENT_ROOT']));
$dir = realpath($dir);
foreach ($docroots as $docroot)