Update files/webdav.php

respect coding style
This commit is contained in:
Thomas Müller 2012-09-04 12:07:05 +03:00
parent b867b738e8
commit b0d186265a

View file

@ -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'));