mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
run both pathnames trough realpath to compare equal names
This commit is contained in:
parent
0f11596866
commit
aa55c600be
@ -76,7 +76,7 @@
|
|||||||
}
|
}
|
||||||
if ($check_in_docroot)
|
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);
|
$dir = realpath($dir);
|
||||||
|
|
||||||
foreach ($docroots as $docroot)
|
foreach ($docroots as $docroot)
|
||||||
|
Loading…
Reference in New Issue
Block a user