]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update files/webdav.php
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 4 Sep 2012 09:07:05 +0000 (12:07 +0300)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 4 Sep 2012 09:07:05 +0000 (12:07 +0300)
respect coding style

files/webdav.php

index c19c4c6b72f2e4dc0468170553e0431967e10e57..cfbb3f486db523b8ff64371b3b4af1cc09c5cb7f 100644 (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'));