diff options
author | Florin Peter <github@florin-peter.de> | 2013-05-15 10:19:38 +0200 |
---|---|---|
committer | Florin Peter <github@florin-peter.de> | 2013-05-15 10:19:38 +0200 |
commit | 807740a07a5385b0761aa23128f859a203e8b71a (patch) | |
tree | 20ccaaca9e2242bd56f265b341bfafd8a746a31e /lib | |
parent | 01f1153b0870b8a24586c099131679f992e0d05e (diff) | |
download | nextcloud-server-807740a07a5385b0761aa23128f859a203e8b71a.tar.gz nextcloud-server-807740a07a5385b0761aa23128f859a203e8b71a.zip |
fix for losing mount point "/"
Diffstat (limited to 'lib')
-rw-r--r-- | lib/files/filesystem.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/files/filesystem.php b/lib/files/filesystem.php index eadd8a93faf..d60d430d77c 100644 --- a/lib/files/filesystem.php +++ b/lib/files/filesystem.php @@ -222,7 +222,10 @@ class Filesystem { return false; } self::$defaultInstance = new View($root); - self::$mounts = new Mount\Manager(); + + if(!self::$mounts) { + self::$mounts = new Mount\Manager(); + } //load custom mount config self::initMountPoints($user); |