backported Jörgs r30191: Fix DAV issue for neon

This commit is contained in:
Ralf Becker 2010-05-18 12:06:27 +00:00
parent c9d23410e5
commit 0abbc95889

View File

@ -97,9 +97,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();