Return a '/' instead of 'false' when listing the root folder.

Signed-off-by: Matthew Dawson <matthew@mjdsystems.ca>
This commit is contained in:
Matthew Dawson 2011-01-04 11:42:57 -05:00
parent e0f6ad1c9c
commit 9e75e34184

View file

@ -369,6 +369,9 @@ class OC_FILESYSTEM{
}
$file=$mp.$file;
$file=substr($file,strlen(self::$fakeRoot));
if($file === '' || $file === false){
$file = '/';
}
}
return $return;
}