nextcloud/apps/dav/appinfo/v2/remote.php

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

22 lines
536 B
PHP
Raw Normal View History

<?php
use OCA\DAV\Server;
2016-01-12 09:02:16 -05:00
/**
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
2016-01-12 09:02:16 -05:00
*/
// no php execution timeout for webdav
if (!str_contains(@ini_get('disable_functions'), 'set_time_limit')) {
@set_time_limit(0);
}
ignore_user_abort(true);
// Turn off output buffering to prevent memory problems
\OC_Util::obEnd();
$request = \OC::$server->getRequest();
$server = new Server($request, $baseuri);
$server->exec();