0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-02-24 00:48:38 +00:00
nextcloud_server/ocs-provider/index.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
445 B
PHP
Raw Permalink Normal View History

<?php
/**
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
*/
require_once __DIR__ . '/../lib/base.php';
header('Content-Type: application/json');
$server = \OC::$server;
2016-05-19 09:09:38 +00:00
$controller = new \OC\OCS\Provider(
'ocs_provider',
$server->getRequest(),
$server->getAppManager()
);
echo $controller->buildProviderList()->render();