mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-29 18:26:05 +00:00
Tweak DAV header to admit that / is not as functional.
This commit is contained in:
parent
c3943f3687
commit
f84045e9cd
@ -23,6 +23,7 @@ dbg_log_array( "headers", '_SERVER', $_SERVER, true );
|
||||
* in all (or even much of) it's glory really.
|
||||
*/
|
||||
$dav = "1, 2, access-control, calendar-access";
|
||||
if ( $_SERVER['PATH_INFO'] == '/' || $_SERVER['PATH_INFO'] == '' ) $dav = "1, access-control";
|
||||
header( "DAV: $dav");
|
||||
// header( "DAV: 1, 2, access-control, calendar-access, calendar-schedule");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user