summaryrefslogtreecommitdiff
path: root/public_html
diff options
context:
space:
mode:
authorThomas <tb@woodcrest.local>2013-11-01 12:03:12 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-11-01 12:46:20 (GMT)
commitdb03abb6bb5ff641191dfd3cf113ad5f5e4a4f41 (patch)
treec29fd990afb8d46e92b12a1fc6e674a0b361563e /public_html
parent0a8caed68666a824b5b8ccf2e1869d2dc53222d4 (diff)
downloadiRony-db03abb6bb5ff641191dfd3cf113ad5f5e4a4f41.tar.gz
Register logger before other plugins
Diffstat (limited to 'public_html')
-rw-r--r--public_html/index.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/public_html/index.php b/public_html/index.php
index 5d12f14..9599e00 100644
--- a/public_html/index.php
+++ b/public_html/index.php
@@ -145,15 +145,15 @@ else if ($services['WEBDAV']) {
$server = new \Sabre\DAV\Server($nodes);
$server->setBaseUri($base_uri);
-// register some plugins
-$server->addPlugin(new \Sabre\DAV\Auth\Plugin($auth_backend, 'KolabDAV'));
-$server->addPlugin(new \Sabre\DAVACL\Plugin());
-
// enable logger
if ($rcube->config->get('kolabdav_console') || $rcube->config->get('kolabdav_user_debug')) {
$server->addPlugin(new \Kolab\Utils\DAVLogger());
}
+// register some plugins
+$server->addPlugin(new \Sabre\DAV\Auth\Plugin($auth_backend, 'KolabDAV'));
+$server->addPlugin(new \Sabre\DAVACL\Plugin());
+
if ($services['CALDAV']) {
$caldav_plugin = new \Kolab\CalDAV\Plugin();
$caldav_plugin->setIMipHandler(new \Kolab\CalDAV\IMip());