summaryrefslogtreecommitdiff
path: root/public_html
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-05-24 12:01:21 (GMT)
committerAleksander Machniak <alec@alec.pl>2013-05-24 12:02:15 (GMT)
commit6219efe930d3da306222cff62a10e191625e9526 (patch)
treeb0f2415c62ebbef095eea5212157156457d8f56d /public_html
parent1eac719d26a9a3443b2c00abc146a869e0801fe1 (diff)
downloadiRony-6219efe930d3da306222cff62a10e191625e9526.tar.gz
Implemented webDAV access to Kolab files (Chwala)
Diffstat (limited to 'public_html')
-rw-r--r--public_html/index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/public_html/index.php b/public_html/index.php
index 9f36579..7a9cf8c 100644
--- a/public_html/index.php
+++ b/public_html/index.php
@@ -101,6 +101,8 @@ $caldav_backend->setUserAgent($_SERVER['HTTP_USER_AGENT']);
// Build the directory tree
// This is an array which contains the 'top-level' directories in the WebDAV server.
$nodes = array(
+ // files
+ new \Kolab\DAV\Collection(\Kolab\DAV\Collection::ROOT_DIRECTORY),
// /principals
new \Sabre\CalDAV\Principal\Collection($principal_backend),
// /calendars