0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-02-14 04:49:20 +00:00
nextcloud_server/apps/dav/appinfo/v2/remote.php
Côme Chilliet 64863c9d46
chore: Apply new rector configuration to apps folder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-13 11:46:42 +01:00

22 lines
561 B
PHP

<?php
use OCA\DAV\Server;
use OCP\IRequest;
/**
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
*/
// 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 = \OCP\Server::get(IRequest::class);
$server = new Server($request, $baseuri);
$server->exec();