Return a '/' instead of 'false' when listing the root folder.
Signed-off-by: Matthew Dawson <matthew@mjdsystems.ca>
This commit is contained in:
parent
e0f6ad1c9c
commit
9e75e34184
1 changed files with 3 additions and 0 deletions
|
@ -369,6 +369,9 @@ class OC_FILESYSTEM{
|
|||
}
|
||||
$file=$mp.$file;
|
||||
$file=substr($file,strlen(self::$fakeRoot));
|
||||
if($file === '' || $file === false){
|
||||
$file = '/';
|
||||
}
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue