fix for losing mount point "/"

This commit is contained in:
Florin Peter 2013-05-15 10:19:38 +02:00
parent de2ccf4723
commit c50bf3e3c5

View file

@ -222,7 +222,10 @@ class Filesystem {
return false; return false;
} }
self::$defaultInstance = new View($root); self::$defaultInstance = new View($root);
self::$mounts = new Mount\Manager();
if(!self::$mounts) {
self::$mounts = new Mount\Manager();
}
//load custom mount config //load custom mount config
self::initMountPoints($user); self::initMountPoints($user);