Fix headers.

This commit is contained in:
Andrew McMillan 2011-10-05 21:03:52 +13:00
parent 9e8e0e6898
commit 3d598f290d

View File

@ -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');