mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-25 02:34:17 +00:00
Fix handling of .well-known where the base handler is not caldav.php
This commit is contained in:
parent
bcb1710d3c
commit
f3cf86741c
@ -21,7 +21,7 @@ switch ( $request->path ) {
|
||||
$request->DoResponse(301); // Moved permanently
|
||||
// does not return.
|
||||
case '/.well-known/timezone':
|
||||
header('Location: ' . ConstructURL('/tz.php',true) );
|
||||
header('Location: ' . str_replace('/caldav.php', '', ConstructURL('/tz.php',true)) );
|
||||
$request->DoResponse(301); // Moved permanently
|
||||
// does not return.
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user