diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-11-26 12:38:26 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-11-26 17:07:24 +0100 |
commit | 8b3728ed9bde3699fa6ccce62098759b5d8407ac (patch) | |
tree | 94c536745169d691bc6c46b64ef4809a061325f1 | |
parent | b96b601017a822079dfdc656663514674a8c5e38 (diff) | |
download | nextcloud-server-8b3728ed9bde3699fa6ccce62098759b5d8407ac.tar.gz nextcloud-server-8b3728ed9bde3699fa6ccce62098759b5d8407ac.zip |
Don't show favicon to prevent iteration through subfolders
The codepath for generating the favicons iterates through subnodes and if one of those nodes is unavailable is throwing a 503 exception. Since these favicons don't have any use except of "making a tool for developers looking nicer" I consider it feasible to remove them.
-rw-r--r-- | apps/files/appinfo/remote.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/appinfo/remote.php b/apps/files/appinfo/remote.php index 3ba25085bad..26bef966f79 100644 --- a/apps/files/appinfo/remote.php +++ b/apps/files/appinfo/remote.php @@ -38,7 +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)); // 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_MaintenancePlugin()); $server->addPlugin(new OC_Connector_Sabre_ExceptionLoggerPlugin('webdav')); |