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 20:09:02 +0200 |
commit | c50bf3e3c54ccbad6b58538fb131924d4f0ff3d7 (patch) | |
tree | ed49a501e7a0573c65ec1959a842148719a69201 /lib/files/filesystem.php | |
parent | de2ccf47233335662b24b687c462196878b8a20c (diff) | |
download | nextcloud-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.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); |