Fix WebDAV support for Bitkinex client (EGw.org#2650)

This commit is contained in:
Jörg Lehrke 2010-06-11 09:05:16 +00:00
parent 0d925fd9fd
commit 97449cce68

View File

@ -97,9 +97,11 @@ $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 ||
strstr($user_agent, 'bitkinex') !== false)
{
// Windows 7 special treatment
// Windows 7 et.al. special treatment
$webdav_server->cnrnd = true;
}
$webdav_server->ServeRequest();