summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2017-01-30 13:01:24 +0100
committerGitHub <noreply@github.com>2017-01-30 13:01:24 +0100
commit64e9a1aec09bd24fe411e75df710b99dcb67bc86 (patch)
tree3f544e544fbd355e9b887f6553b4c9663a7f5586 /apps/files_external
parent9a036a2ae3594ab7d3322a93c176c8db2813ad1a (diff)
parenta4ad8af6e3f0247db6f74dfcddc144e91f61fe84 (diff)
downloadnextcloud-server-64e9a1aec09bd24fe411e75df710b99dcb67bc86.tar.gz
nextcloud-server-64e9a1aec09bd24fe411e75df710b99dcb67bc86.zip
Merge pull request #3176 from nextcloud/default-value-datadir
Add proper default value for datadir
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/lib/Lib/Storage/SFTP.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/Lib/Storage/SFTP.php b/apps/files_external/lib/Lib/Storage/SFTP.php
index 9d20742fcb0..1d9affa8d68 100644
--- a/apps/files_external/lib/Lib/Storage/SFTP.php
+++ b/apps/files_external/lib/Lib/Storage/SFTP.php
@@ -207,7 +207,7 @@ class SFTP extends \OC\Files\Storage\Common {
try {
$storage_view = \OCP\Files::getStorage('files_external');
if ($storage_view) {
- return \OC::$server->getConfig()->getSystemValue('datadirectory') .
+ return \OC::$server->getConfig()->getSystemValue('datadirectory', \OC::$SERVERROOT . '/data') .
$storage_view->getAbsolutePath('') .
'ssh_hostKeys';
}