diff options
Diffstat (limited to 'files/webdav.php')
-rw-r--r-- | files/webdav.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/webdav.php b/files/webdav.php index c19c4c6b72f..cfbb3f486db 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,7 +36,7 @@ $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')); |