Fix DAV issue for neon

This commit is contained in:
Jörg Lehrke 2010-05-18 10:30:28 +00:00
parent e8298f217f
commit 854c5a83a0

View File

@ -86,9 +86,10 @@ $GLOBALS['egw']->session->commit_session();
$webdav_server = new vfs_webdav_server();
$user_agent = strtolower($_SERVER['HTTP_USER_AGENT']);
if (strstr($user_agent, 'microsoft-webdav') !== false)
if (strstr($user_agent, 'microsoft-webdav') !== false ||
strstr($user_agent, 'neon') !== false)
{
// Windows 7 special treatment
// Neon & Windows 7 special treatment
$webdav_server->cnrnd = true;
}
$webdav_server->ServeRequest();