Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialICalendar.php |
— | — | @@ -139,6 +139,7 @@ |
140 | 140 | protected function makeICalendarResult() { |
141 | 141 | global $wgOut, $wgRequest, $wgServer, $wgSitename; |
142 | 142 | $wgOut->disable(); |
| 143 | + header( "Content-type: text/calendar" ); |
143 | 144 | $newprintouts = array(); // filter printouts |
144 | 145 | foreach ($this->m_printouts as $printout) { |
145 | 146 | if ((strtolower($printout->getLabel()) == "start") and ($printout->getTypeID() == "_dat")) { |