fix for losing mount point "/"

This commit is contained in:
Florin Peter 2013-05-15 10:19:38 +02:00
parent de2ccf4723
commit c50bf3e3c5
1 changed files with 4 additions and 1 deletions

View File

@ -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);