fixed #131;initial support for nc27

This commit is contained in:
benson
2023-06-16 22:02:44 +08:00
parent 47a83e1707
commit 0c72616da7
3 changed files with 3 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ download videos from 700+ video sites(youtube,youku,vimo,dailymotion,twitter,fac
<repository>https://github.com/shiningw/ncdownloader</repository>
<dependencies>
<php min-version="7.3" max-version="8.2" />
<nextcloud min-version="20" max-version="26"/>
<nextcloud min-version="20" max-version="27"/>
</dependencies>
<navigations>
<navigation>

View File

@@ -400,7 +400,8 @@ class Helper
{
if (self::getUID()) {
OC_Util::setupFS();
return Filesystem::getLocalFolder($path);
//get the real path of the file in the filesystem
return \OC\Files\Filesystem::getLocalFile($path);
}
return "";
}