diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2014-02-20 18:53:37 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2014-02-20 18:53:37 +0100 |
commit | f11658698d48e0fdd2065466651c4c86c22a80f2 (patch) | |
tree | d00315acb10cc891fc9cd42f44a3234c6daa832a /lib | |
parent | 6cb64a4fced31906938159eb237159cac815ca26 (diff) | |
download | nextcloud-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.php | 3 |
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')) { |