From bff8e321f624c1c96c4273d2f3732be7ee2dd114 Mon Sep 17 00:00:00 2001 From: Remy Sharp Date: Wed, 19 Oct 2011 14:39:26 +0100 Subject: [PATCH] plain text content-type was wrong - whoops --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 1f2513b61c..6f2502bdc4 100644 --- a/index.php +++ b/index.php @@ -74,7 +74,7 @@ if ($format == 'txt') { $license = array_shift(explode('', array_pop(explode('
', $license)))); $license = preg_replace('/<[^>]*>/', '', trim($license)); - header('content-type: plain/text'); + header('content-type: text/plain'); } echo $license;