summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2013-02-28 16:10:25 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2013-02-28 16:10:25 (GMT)
commit793017e32d10d1f59fbc1099198c0d199f4640e6 (patch)
tree6c84a4997487c0c17d34bd2ebe081779851fda73
parent696f145081c4b5a884b98c97f9837076ed195354 (diff)
downloadiRony-793017e32d10d1f59fbc1099198c0d199f4640e6.tar.gz
Forward User-Agent string to backend class
-rw-r--r--public_html/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/public_html/index.php b/public_html/index.php
index 25c53bb..66d3590 100644
--- a/public_html/index.php
+++ b/public_html/index.php
@@ -92,6 +92,7 @@ $auth_backend = new \Kolab\DAV\Auth\HTTPBasic();
$principal_backend = new \Kolab\DAVACL\PrincipalBackend();
//$carddav_backend = new \Kolab\CardDAV\ContactsBackend();
$caldav_backend = new \Kolab\CalDAV\CalendarBackend();
+$caldav_backend->setUserAgent($_SERVER['HTTP_USER_AGENT']);
// Build the directory tree