diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-04-15 20:03:00 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-04-15 20:03:00 +0200 |
commit | c82adb8c5db01d6a49c4364f7eecb2931f59cfa1 (patch) | |
tree | 2c18fa58b47ff03aa3f872a1c13c0b2fe4968fed /apps/files/appinfo | |
parent | 371a924c92bb751b81e2a819d8c581743be7a797 (diff) | |
parent | 2eeab60378a3e22e19c4f435aa2bf65cc9da7c2a (diff) | |
download | nextcloud-server-c82adb8c5db01d6a49c4364f7eecb2931f59cfa1.tar.gz nextcloud-server-c82adb8c5db01d6a49c4364f7eecb2931f59cfa1.zip |
merge master into webdav-injection
Diffstat (limited to 'apps/files/appinfo')
-rw-r--r-- | apps/files/appinfo/remote.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/files/appinfo/remote.php b/apps/files/appinfo/remote.php index 1b2d144da5c..c1baee4f1ef 100644 --- a/apps/files/appinfo/remote.php +++ b/apps/files/appinfo/remote.php @@ -22,12 +22,6 @@ * License along with this library. If not, see <http://www.gnu.org/licenses/>. * */ -// load needed apps -$RUNTIME_APPTYPES = array('filesystem', 'authentication', 'logging'); - -OC_App::loadApps($RUNTIME_APPTYPES); - -OC_Util::obEnd(); // Backends $authBackend = new OC_Connector_Sabre_Auth(); @@ -44,6 +38,7 @@ $server->setBaseUri($baseuri); $defaults = new OC_Defaults(); $server->addPlugin(new Sabre_DAV_Auth_Plugin($authBackend, $defaults->getName())); $server->addPlugin(new Sabre_DAV_Locks_Plugin($lockBackend)); +$server->addPlugin(new Sabre_DAV_Browser_Plugin(false)); $server->addPlugin(new OC_Connector_Sabre_FilesPlugin()); $server->addPlugin(new OC_Connector_Sabre_MaintenancePlugin()); $server->addPlugin(new OC_Connector_Sabre_ExceptionLoggerPlugin('webdav')); |