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>
|
<repository>https://github.com/shiningw/ncdownloader</repository>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<php min-version="7.3" max-version="8.2" />
|
<php min-version="7.3" max-version="8.2" />
|
||||||
<nextcloud min-version="20" max-version="26"/>
|
<nextcloud min-version="20" max-version="27"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<navigations>
|
<navigations>
|
||||||
<navigation>
|
<navigation>
|
||||||
|
|||||||
@@ -400,7 +400,8 @@ class Helper
|
|||||||
{
|
{
|
||||||
if (self::getUID()) {
|
if (self::getUID()) {
|
||||||
OC_Util::setupFS();
|
OC_Util::setupFS();
|
||||||
return Filesystem::getLocalFolder($path);
|
//get the real path of the file in the filesystem
|
||||||
|
return \OC\Files\Filesystem::getLocalFile($path);
|
||||||
}
|
}
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user