aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo/v2
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-10-21 15:06:48 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-10-26 13:00:00 +0100
commitc79496b5a3ac05f607e4ac0d4036da42e120d28f (patch)
treec320268a73df4747bf5554fa84a634031fffa59e /apps/dav/appinfo/v2
parent9a7a45bc37ff07dcb3d57f91ab8014fd21c4a40e (diff)
downloadnextcloud-server-c79496b5a3ac05f607e4ac0d4036da42e120d28f.tar.gz
nextcloud-server-c79496b5a3ac05f607e4ac0d4036da42e120d28f.zip
Introduced the new webdav endpoint remote.php/dav holding the principals and the files collection
Diffstat (limited to 'apps/dav/appinfo/v2')
-rw-r--r--apps/dav/appinfo/v2/remote.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/dav/appinfo/v2/remote.php b/apps/dav/appinfo/v2/remote.php
new file mode 100644
index 00000000000..02457bd3ccc
--- /dev/null
+++ b/apps/dav/appinfo/v2/remote.php
@@ -0,0 +1,11 @@
+<?php
+
+// no php execution timeout for webdav
+set_time_limit(0);
+
+// Turn off output buffering to prevent memory problems
+\OC_Util::obEnd();
+
+$request = \OC::$server->getRequest();
+$server = new \OCA\DAV\Server($request, $baseuri);
+$server->exec();