aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authoricewind1991 <icewind1991@gmail.com>2013-07-24 10:46:27 -0700
committericewind1991 <icewind1991@gmail.com>2013-07-24 10:46:27 -0700
commit198641624814ecfcbec3a373c2713544a328132f (patch)
treee8a67a9a92024ed7970cb6b712ecce9a9e0aa68c /apps
parent9f01d00c65945a71cbaf09d128946fe8f451e468 (diff)
parentad266a42534eb84a778d1a3a1642db38a4c50325 (diff)
downloadnextcloud-server-198641624814ecfcbec3a373c2713544a328132f.tar.gz
nextcloud-server-198641624814ecfcbec3a373c2713544a328132f.zip
Merge pull request #3898 from owncloud/sabre-objecttree
WebDAV performance improvements
Diffstat (limited to 'apps')
-rw-r--r--apps/files/appinfo/remote.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/files/appinfo/remote.php b/apps/files/appinfo/remote.php
index a1444141099..9b114ca2e37 100644
--- a/apps/files/appinfo/remote.php
+++ b/apps/files/appinfo/remote.php
@@ -23,7 +23,7 @@
*
*/
// load needed apps
-$RUNTIME_APPTYPES=array('filesystem', 'authentication', 'logging');
+$RUNTIME_APPTYPES = array('filesystem', 'authentication', 'logging');
OC_App::loadApps($RUNTIME_APPTYPES);
@@ -35,10 +35,11 @@ $lockBackend = new OC_Connector_Sabre_Locks();
$requestBackend = new OC_Connector_Sabre_Request();
// Create ownCloud Dir
-$publicDir = new OC_Connector_Sabre_Directory('');
+$rootDir = new OC_Connector_Sabre_Directory('');
+$objectTree = new \OC\Connector\Sabre\ObjectTree($rootDir);
// Fire up server
-$server = new Sabre_DAV_Server($publicDir);
+$server = new Sabre_DAV_Server($objectTree);
$server->httpRequest = $requestBackend;
$server->setBaseUri($baseuri);