summaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo
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
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')
-rw-r--r--apps/dav/appinfo/info.xml3
-rw-r--r--apps/dav/appinfo/v2/remote.php11
2 files changed, 13 insertions, 1 deletions
diff --git a/apps/dav/appinfo/info.xml b/apps/dav/appinfo/info.xml
index 38878ec27f2..8f378f5e18d 100644
--- a/apps/dav/appinfo/info.xml
+++ b/apps/dav/appinfo/info.xml
@@ -5,7 +5,7 @@
<description>ownCloud WebDAV endpoint</description>
<licence>AGPL</licence>
<author>owncloud.org</author>
- <version>0.1</version>
+ <version>0.1.1</version>
<requiremin>9.0</requiremin>
<shipped>true</shipped>
<standalone/>
@@ -16,6 +16,7 @@
<remote>
<files>appinfo/v1/webdav.php</files>
<webdav>appinfo/v1/webdav.php</webdav>
+ <dav>appinfo/v2/remote.php</dav>
</remote>
<public>
<webdav>appinfo/v1/publicwebdav.php</webdav>
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();