summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhkjolhede <hkjolhede@gmail.com>2012-12-26 18:03:16 +0100
committerhkjolhede <hkjolhede@gmail.com>2012-12-26 18:03:16 +0100
commit6aded84f10ff2818e876411594ad7fa9b0e4fe4b (patch)
tree1c99ed49b404fb4b771e5258c22e083148a8972a
parent180ab42c063d3e0e36e00a82ef7a383b45630c11 (diff)
downloadnextcloud-server-6aded84f10ff2818e876411594ad7fa9b0e4fe4b.tar.gz
nextcloud-server-6aded84f10ff2818e876411594ad7fa9b0e4fe4b.zip
Update apps/files_external/lib/config.php
Adding support for SFTP mounts
-rwxr-xr-xapps/files_external/lib/config.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php
index 1be544fbc07..880e6d97e64 100755
--- a/apps/files_external/lib/config.php
+++ b/apps/files_external/lib/config.php
@@ -103,7 +103,15 @@ class OC_Mount_Config {
'user' => 'Username',
'password' => '*Password',
'root' => '&Root',
- 'secure' => '!Secure https://'));
+ 'secure' => '!Secure https://'));
+
+ $backends['OC_Filestorage_SFTP']=array(
+ 'backend' => 'SFTP',
+ 'configuration' => array(
+ 'host' => 'URL',
+ 'user' => 'Username',
+ 'password' => '*Password',
+ 'root' => '&Root'));
return($backends);
}