diff options
author | hkjolhede <hkjolhede@gmail.com> | 2012-12-26 18:03:16 +0100 |
---|---|---|
committer | hkjolhede <hkjolhede@gmail.com> | 2012-12-26 18:03:16 +0100 |
commit | 6aded84f10ff2818e876411594ad7fa9b0e4fe4b (patch) | |
tree | 1c99ed49b404fb4b771e5258c22e083148a8972a | |
parent | 180ab42c063d3e0e36e00a82ef7a383b45630c11 (diff) | |
download | nextcloud-server-6aded84f10ff2818e876411594ad7fa9b0e4fe4b.tar.gz nextcloud-server-6aded84f10ff2818e876411594ad7fa9b0e4fe4b.zip |
Update apps/files_external/lib/config.php
Adding support for SFTP mounts
-rwxr-xr-x | apps/files_external/lib/config.php | 10 |
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); } |