need to use our own readlink

This commit is contained in:
Ralf Becker 2015-09-30 06:24:53 +00:00
parent c6ad6d2caa
commit cb5d0bd419

View File

@ -1525,7 +1525,7 @@ class groupdav extends HTTP_WebDAV_Server
), true) as $path => $stat)
{
// handle symlinks --> return target size and mime-type
if (($target = readlink($path)))
if (($target = egw_vfs::readlink($path)))
{
if (!($stat = egw_vfs::stat($target))) continue; // broken or inaccessible symlink