diff options
Diffstat (limited to 'core/Controller/OCSController.php')
-rw-r--r-- | core/Controller/OCSController.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/core/Controller/OCSController.php b/core/Controller/OCSController.php index 8eee52096c2..05d2a34bac4 100644 --- a/core/Controller/OCSController.php +++ b/core/Controller/OCSController.php @@ -53,6 +53,23 @@ class OCSController extends \OCP\AppFramework\OCSController { } /** + * @PublicPage + * + * @return DataResponse + */ + public function getConfig() { + $data = [ + 'version' => '1.7', + 'website' => 'ownCloud', + 'host' => $this->request->getServerHost(), + 'contact' => '', + 'ssl' => 'false', + ]; + + return new DataResponse($data); + } + + /** * @NoAdminRequired * @return DataResponse */ |