Root always exists
This commit is contained in:
parent
9ddd5033d4
commit
e656af4c83
1 changed files with 8 additions and 0 deletions
8
apps/files_sharing/lib/external/storage.php
vendored
8
apps/files_sharing/lib/external/storage.php
vendored
|
@ -167,6 +167,14 @@ class Storage extends DAV implements ISharedStorage {
|
|||
}
|
||||
}
|
||||
|
||||
public function file_exists($path) {
|
||||
if ($path === '') {
|
||||
return true;
|
||||
} else {
|
||||
return parent::file_exists($path);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* check if the configured remote is a valid ownCloud instance
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue