* Api - Fix sharing from mounted shares failed with 404

This commit is contained in:
nathangray 2018-02-13 15:10:34 -07:00
parent 28eaee5707
commit f166fbdd46

View File

@ -430,7 +430,7 @@ class Sharing
if (($exists = ($stat = Vfs::stat($path)) && Vfs::check_access($path, Vfs::READABLE, $stat))) if (($exists = ($stat = Vfs::stat($path)) && Vfs::check_access($path, Vfs::READABLE, $stat)))
{ {
$vfs_path = Vfs::parse_url($stat['url'], PHP_URL_PATH); $vfs_path = Vfs::parse_url($path, PHP_URL_PATH);
} }
} }
// check if file exists and is readable // check if file exists and is readable