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

This commit is contained in:
Jörg Lehrke 2010-06-11 09:06:05 +00:00
parent b7b71cfe87
commit f9c5c02a55

View File

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