Root always exists

This commit is contained in:
Robin Appelman 2014-12-17 16:09:41 +01:00
parent 9ddd5033d4
commit e656af4c83
1 changed files with 8 additions and 0 deletions

View File

@ -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 * check if the configured remote is a valid ownCloud instance
* *