The root of a storage always exists
This commit is contained in:
parent
5bf476efd0
commit
33eb13e415
|
@ -220,6 +220,9 @@ class Availability extends Wrapper {
|
||||||
|
|
||||||
/** {@inheritdoc} */
|
/** {@inheritdoc} */
|
||||||
public function file_exists($path) {
|
public function file_exists($path) {
|
||||||
|
if ($path === '') {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
$this->checkAvailability();
|
$this->checkAvailability();
|
||||||
try {
|
try {
|
||||||
return parent::file_exists($path);
|
return parent::file_exists($path);
|
||||||
|
|
Loading…
Reference in New Issue