summaryrefslogtreecommitdiffstats
path: root/files/webdav.php
diff options
context:
space:
mode:
Diffstat (limited to 'files/webdav.php')
-rw-r--r--files/webdav.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/webdav.php b/files/webdav.php
index c19c4c6b72f..e7292d5a19f 100644
--- a/files/webdav.php
+++ b/files/webdav.php
@@ -25,7 +25,7 @@
// only need filesystem apps
$RUNTIME_APPTYPES=array('filesystem','authentication');
-require_once('../lib/base.php');
+require_once '../lib/base.php';
// Backends
$authBackend = new OC_Connector_Sabre_Auth();
@@ -36,10 +36,10 @@ $publicDir = new OC_Connector_Sabre_Directory('');
// Fire up server
$server = new Sabre_DAV_Server($publicDir);
-$server->setBaseUri(OC::$WEBROOT.'/files/webdav.php');
+$server->setBaseUri(OC::$WEBROOT. '/files/webdav.php');
// Load plugins
-$server->addPlugin(new Sabre_DAV_Auth_Plugin($authBackend,'ownCloud'));
+$server->addPlugin(new Sabre_DAV_Auth_Plugin($authBackend, 'ownCloud'));
$server->addPlugin(new Sabre_DAV_Locks_Plugin($lockBackend));
$server->addPlugin(new Sabre_DAV_Browser_Plugin(false)); // Show something in the Browser, but no upload