aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo
diff options
context:
space:
mode:
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();