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,7 +236,9 @@ class Filesystem {
} }
static public function initMounts(){ static public function initMounts(){
self::$mounts = new Mount\Manager(); if(!self::$mounts) {
self::$mounts = new Mount\Manager();
}
} }
/** /**