Remove the leading slash from the filename for opendir
This commit is contained in:
parent
04bf8c1b66
commit
808a13922c
|
@ -268,7 +268,7 @@ class Google extends \OC\Files\Storage\Common {
|
|||
$name .= '.'.$extension;
|
||||
}
|
||||
}
|
||||
$files[] = $name;
|
||||
$files[] = basename($name);
|
||||
// Cache entry for future use
|
||||
$this->entries[$name] = $entry;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue