aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhkjolhede <hkjolhede@gmail.com>2012-12-27 21:00:20 +0100
committerhkjolhede <hkjolhede@gmail.com>2012-12-27 21:00:20 +0100
commitab31c3ef4ef921bb14aa148f2d3087b93d4be0e4 (patch)
tree8b2477f7515e95bf65c2a04ae73fe1d9f409f933
parent8598d18529359c7f27cdd23a7ab40ab69c4139f4 (diff)
downloadnextcloud-server-ab31c3ef4ef921bb14aa148f2d3087b93d4be0e4.tar.gz
nextcloud-server-ab31c3ef4ef921bb14aa148f2d3087b93d4be0e4.zip
Update apps/files_external/lib/sftp.php
Updated to using local 3rdparty + added a few missed braces.
-rw-r--r--apps/files_external/lib/sftp.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files_external/lib/sftp.php b/apps/files_external/lib/sftp.php
index 67a11fc3a47..7113eadfa2b 100644
--- a/apps/files_external/lib/sftp.php
+++ b/apps/files_external/lib/sftp.php
@@ -6,7 +6,7 @@
* See the COPYING-README file.
*/
-set_include_path(get_include_path() . PATH_SEPARATOR . OC::$THIRDPARTYROOT . '/3rdparty/phpseclib/phpseclib');
+set_include_path(get_include_path() . PATH_SEPARATOR . OC_App::getAppPath('files_external') . '/3rdparty/phpseclib/phpseclib');
require('Net/SFTP.php');
class OC_Filestorage_SFTP extends OC_Filestorage_Common {
@@ -122,6 +122,7 @@ class OC_Filestorage_SFTP extends OC_Filestorage_Common {
} catch (Exception $e) {
return false;
}
+ }
public function opendir($path) {
try {
@@ -256,6 +257,7 @@ class OC_Filestorage_SFTP extends OC_Filestorage_Common {
} catch (Exception $e) {
return false;
}
+ }
public function stat($path) {
try {