1
0

Merge pull request #87 from matthew-b-payne/patch-1

Enabling the GuessContentType plugin is essential for webdav clients bein
This commit is contained in:
Bharat Mediratta 2011-10-28 11:04:52 -07:00
commit 4b6a85a3f2

View File

@ -34,6 +34,7 @@ class WebDAV_Controller extends Controller {
$server->setBaseUri(url::site("webdav/gallery"));
// $server->addPlugin($lock);
$server->addPlugin($filter);
$server->addPlugin(new Sabre_DAV_Browser_GuessContentType());
if ($this->_authenticate()) {
$server->exec();