Merge pull request #12448 from owncloud/no503forRoot

Don't show favicon to prevent iteration through subfolders
This commit is contained in:
Morris Jobke 2014-11-26 17:06:43 +01:00
commit 60f7a86323
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ $server->setBaseUri($baseuri);
$defaults = new OC_Defaults(); $defaults = new OC_Defaults();
$server->addPlugin(new \Sabre\DAV\Auth\Plugin($authBackend, $defaults->getName())); $server->addPlugin(new \Sabre\DAV\Auth\Plugin($authBackend, $defaults->getName()));
$server->addPlugin(new \Sabre\DAV\Locks\Plugin($lockBackend)); $server->addPlugin(new \Sabre\DAV\Locks\Plugin($lockBackend));
$server->addPlugin(new \Sabre\DAV\Browser\Plugin(false)); // Show something in the Browser, but no upload $server->addPlugin(new \Sabre\DAV\Browser\Plugin(false, false)); // Show something in the Browser, but no upload
$server->addPlugin(new OC_Connector_Sabre_FilesPlugin()); $server->addPlugin(new OC_Connector_Sabre_FilesPlugin());
$server->addPlugin(new OC_Connector_Sabre_MaintenancePlugin()); $server->addPlugin(new OC_Connector_Sabre_MaintenancePlugin());
$server->addPlugin(new OC_Connector_Sabre_ExceptionLoggerPlugin('webdav')); $server->addPlugin(new OC_Connector_Sabre_ExceptionLoggerPlugin('webdav'));