mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Fix collabora can not open vfs symlinks from apps
This commit is contained in:
parent
540f3d574d
commit
9b639b1fe0
@ -1565,6 +1565,10 @@ class StreamWrapper extends Api\Db\Pdo implements Vfs\StreamWrapperIface
|
|||||||
{
|
{
|
||||||
$vfs = new self();
|
$vfs = new self();
|
||||||
$stat = $vfs->url_stat($path,0);
|
$stat = $vfs->url_stat($path,0);
|
||||||
|
if ($stat['readlink'])
|
||||||
|
{
|
||||||
|
$stat = $vfs->url_stat($stat['readlink'], 0);
|
||||||
|
}
|
||||||
$fs_id = $stat['ino'];
|
$fs_id = $stat['ino'];
|
||||||
|
|
||||||
$query = 'SELECT MIN(B.fs_id)
|
$query = 'SELECT MIN(B.fs_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user