mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-03-13 08:00:15 +00:00
Fix headers.
This commit is contained in:
parent
9e8e0e6898
commit
3d598f290d
@ -44,8 +44,8 @@ if ( $qry->QDo('SELECT * FROM tz_localnames WHERE our_tzno = :our_tzno', array('
|
||||
}
|
||||
|
||||
header( 'ETag: "'.$tz->etag.'"' );
|
||||
header( 'Last-Modified', $tz->last_modified );
|
||||
header( 'Content-Disposition', 'Attachment; Filename="'.str_replace('/','-',$tzid . '.ics"' ));
|
||||
header( 'Last-Modified: '. $tz->last_modified );
|
||||
header( 'Content-Disposition: Attachment; Filename="'.str_replace('/','-',$tzid . '.ics"' ));
|
||||
|
||||
$request->DoResponse(200, $vtz->Render(), 'text/calendar; charset=UTF-8');
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user