diff --git a/appinfo/info.xml b/appinfo/info.xml
index fdc0131..b8c52bf 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -20,7 +20,7 @@ download videos from 700+ video sites(youtube,youku,vimo,dailymotion,twitter,fac
https://github.com/shiningw/ncdownloader
-
+
diff --git a/appinfo/application.php b/lib/AppInfo/Application.php
similarity index 100%
rename from appinfo/application.php
rename to lib/AppInfo/Application.php
diff --git a/lib/Tools/Helper.php b/lib/Tools/Helper.php
index 746d96c..3076ab2 100644
--- a/lib/Tools/Helper.php
+++ b/lib/Tools/Helper.php
@@ -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 "";
}