mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Update files/webdav.php
respect coding style
This commit is contained in:
parent
b867b738e8
commit
b0d186265a
1 changed files with 2 additions and 2 deletions
|
|
@ -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'));
|
||||
|
|
|
|||
Loading…
Reference in a new issue