fix for webdav because initMounts() is triggered twice so we lost the root path

This commit is contained in:
Florin Peter 2013-05-20 01:57:16 +02:00
parent b3b6738d59
commit 58a8d67a9b
1 changed files with 3 additions and 1 deletions

View File

@ -236,8 +236,10 @@ class Filesystem {
} }
static public function initMounts(){ static public function initMounts(){
if(!self::$mounts) {
self::$mounts = new Mount\Manager(); self::$mounts = new Mount\Manager();
} }
}
/** /**
* Initialize system and personal mount points for a user * Initialize system and personal mount points for a user