mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Fix Windows 7 WebDAV issue
This commit is contained in:
parent
ac75c349b8
commit
af6e0c661d
@ -96,5 +96,11 @@ catch (egw_exception_no_permission_app $e)
|
|||||||
$GLOBALS['egw']->session->commit_session();
|
$GLOBALS['egw']->session->commit_session();
|
||||||
|
|
||||||
$webdav_server = new vfs_webdav_server();
|
$webdav_server = new vfs_webdav_server();
|
||||||
|
$user_agent = strtolower($_SERVER['HTTP_USER_AGENT']);
|
||||||
|
if (strstr($user_agent, 'microsoft-webdav') !== false)
|
||||||
|
{
|
||||||
|
// Windows 7 special treatment
|
||||||
|
$webdav_server->cnrnd = true;
|
||||||
|
}
|
||||||
$webdav_server->ServeRequest();
|
$webdav_server->ServeRequest();
|
||||||
//error_log(sprintf("WebDAV %s request took %5.3f s (header include took %5.3f s)",$_SERVER['REQUEST_METHOD'],microtime(true)-$starttime,$headertime-$starttime));
|
//error_log(sprintf("WebDAV %s request took %5.3f s (header include took %5.3f s)",$_SERVER['REQUEST_METHOD'],microtime(true)-$starttime,$headertime-$starttime));
|
||||||
|
Loading…
Reference in New Issue
Block a user