Root always exists

remotes/origin/fix-10825
Robin Appelman 2014-12-17 16:09:41 +07:00
parent 9ddd5033d4
commit e656af4c83
1 changed files with 8 additions and 0 deletions

@ -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
*