fixed #131;initial support for nc27
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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 "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user