mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-01 19:09:30 +01:00
"small fix for webdav running on a non apache server"
This commit is contained in:
parent
f8f5ab36fa
commit
c60b632541
@ -56,15 +56,17 @@ class vfs_webdav_server extends HTTP_WebDAV_Server_Filesystem
|
||||
// special treatment for litmus compliance test
|
||||
// reply on its identifier header
|
||||
// not needed for the test itself but eases debugging
|
||||
foreach (apache_request_headers() as $key => $value)
|
||||
if (function_exists('apache_request_headers'))
|
||||
{
|
||||
if (stristr($key, "litmus"))
|
||||
foreach (apache_request_headers() as $key => $value)
|
||||
{
|
||||
error_log("Litmus test $value");
|
||||
header("X-Litmus-reply: ".$value);
|
||||
if (stristr($key, "litmus"))
|
||||
{
|
||||
error_log("Litmus test $value");
|
||||
header("X-Litmus-reply: ".$value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// let the base class do all the work
|
||||
HTTP_WebDAV_Server::ServeRequest();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user