From aa55c600bec5b13590cb569c96752238d9e8c7f4 Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Sun, 11 Feb 2007 12:04:15 +0000 Subject: [PATCH] run both pathnames trough realpath to compare equal names --- setup/inc/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/inc/functions.inc.php b/setup/inc/functions.inc.php index 9256d5d79d..c70c032732 100644 --- a/setup/inc/functions.inc.php +++ b/setup/inc/functions.inc.php @@ -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)