Skip to content

Commit

Permalink
plain text content-type was wrong - whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
remy committed Oct 19, 2011
1 parent 8d80b7d commit bff8e32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Expand Up @@ -74,7 +74,7 @@
if ($format == 'txt') {
$license = array_shift(explode('</article>', array_pop(explode('<article>', $license))));
$license = preg_replace('/<[^>]*>/', '', trim($license));
header('content-type: plain/text');
header('content-type: text/plain');
}

echo $license;
Expand Down

0 comments on commit bff8e32

Please sign in to comment.