mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +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)
|
||||
{
|
||||
$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)
|
||||
|
Loading…
Reference in New Issue
Block a user