summaryrefslogtreecommitdiffstats
path: root/lib/files/filesystem.php
diff options
context:
space:
mode:
authorFlorin Peter <github@florin-peter.de>2013-05-15 10:19:38 +0200
committerFlorin Peter <github@florin-peter.de>2013-05-15 20:09:02 +0200
commitc50bf3e3c54ccbad6b58538fb131924d4f0ff3d7 (patch)
treeed49a501e7a0573c65ec1959a842148719a69201 /lib/files/filesystem.php
parentde2ccf47233335662b24b687c462196878b8a20c (diff)
downloadnextcloud-server-c50bf3e3c54ccbad6b58538fb131924d4f0ff3d7.tar.gz
nextcloud-server-c50bf3e3c54ccbad6b58538fb131924d4f0ff3d7.zip
fix for losing mount point "/"
Diffstat (limited to 'lib/files/filesystem.php')
-rw-r--r--lib/files/filesystem.php5
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);