diff options
author | icewind1991 <icewind1991@gmail.com> | 2013-07-24 10:46:27 -0700 |
---|---|---|
committer | icewind1991 <icewind1991@gmail.com> | 2013-07-24 10:46:27 -0700 |
commit | 198641624814ecfcbec3a373c2713544a328132f (patch) | |
tree | e8a67a9a92024ed7970cb6b712ecce9a9e0aa68c /apps | |
parent | 9f01d00c65945a71cbaf09d128946fe8f451e468 (diff) | |
parent | ad266a42534eb84a778d1a3a1642db38a4c50325 (diff) | |
download | nextcloud-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.php | 7 |
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); |