Add a new core capability which tells the clients which url to use

This commit is contained in:
Thomas Müller 2015-11-03 14:27:36 +01:00
parent b0c456c0fc
commit b2a437ffff
1 changed files with 2 additions and 1 deletions

View File

@ -49,7 +49,8 @@ class CoreCapabilities implements ICapability {
public function getCapabilities() {
return [
'core' => [
'pollinterval' => $this->config->getSystemValue('pollinterval', 60)
'pollinterval' => $this->config->getSystemValue('pollinterval', 60),
'webdav-root' => $this->config->getSystemValue('webdav-root', 'remote.php/webdav'),
]
];
}