summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2014-02-20 18:53:37 +0100
committerLukas Reschke <lukas@statuscode.ch>2014-02-20 18:53:37 +0100
commitf11658698d48e0fdd2065466651c4c86c22a80f2 (patch)
treed00315acb10cc891fc9cd42f44a3234c6daa832a /lib
parent6cb64a4fced31906938159eb237159cac815ca26 (diff)
downloadnextcloud-server-f11658698d48e0fdd2065466651c4c86c22a80f2.tar.gz
nextcloud-server-f11658698d48e0fdd2065466651c4c86c22a80f2.zip
Fix path to the mount file
Diffstat (limited to 'lib')
-rw-r--r--lib/private/files/filesystem.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/files/filesystem.php b/lib/private/files/filesystem.php
index 952f9f9febf..7f7b6f7f468 100644
--- a/lib/private/files/filesystem.php
+++ b/lib/private/files/filesystem.php
@@ -320,7 +320,8 @@ class Filesystem {
else {
self::mount('\OC\Files\Storage\Local', array('datadir' => $root), $user);
}
- $mount_file = \OC_Config::getValue("mount_file", \OC::$SERVERROOT . "/data/mount.json");
+ $datadir = \OC_Config::getValue("datadirectory", \OC::$SERVERROOT . "/data");
+ $mount_file = \OC_Config::getValue("mount_file", $datadir . "/mount.json");
//move config file to it's new position
if (is_file(\OC::$SERVERROOT . '/config/mount.json')) {