Root always exists

This commit is contained in:
Robin Appelman 2014-12-17 16:09:41 +01:00
parent 9ddd5033d4
commit e656af4c83

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
*