WordPress.org

Plugin Directory


Ignore:
Timestamp:
03/28/17 08:55:46 (6 months ago)
Author:
bastho
Message:

mime types vcal/ical

File:
1 edited

Legend:

Unmodified
Added
Removed
  • event-post/trunk/export/ics.php

    r1617929 r1623586  
    11<?php 
    22if(isset($_GET['t']) && isset($_GET['sd']) && isset($_GET['ed']) && isset($_GET['d']) && isset($_GET['a']) && isset($_GET['u'])){ 
    3     header("content-type:text/x-vcalendar"); 
     3    header("content-type:text/".(isset($mime)?$mime:'x-icalendar')); 
    44    header("Pragma: public"); 
    55    header("Expires: 0"); 
Note: See TracChangeset for help on using the changeset viewer.