added setter for filesystem view
this is needed because there is no possibility to set $defaultInstance to false after filesystem::init
This commit is contained in:
parent
8776000754
commit
791751b529
|
@ -210,7 +210,7 @@ class Filesystem {
|
|||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
/**
|
||||
* Initialize system and personal mount points for a user
|
||||
*
|
||||
* @param string $user
|
||||
|
@ -306,6 +306,14 @@ class Filesystem {
|
|||
return self::$defaultInstance;
|
||||
}
|
||||
|
||||
/**
|
||||
* set the default filesystem view
|
||||
*
|
||||
*/
|
||||
static public function setView($view) {
|
||||
self::$defaultInstance = $view;
|
||||
}
|
||||
|
||||
/**
|
||||
* tear down the filesystem, removing all storage providers
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue