X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Frss.inc.php;h=f292fe8c0d87203002d8d2b7580a3bdb9fc39bea;hb=e97df22eacc433a9982aad507f980b303d5fa2c1;hp=eb78f63111a426b8841ac6b5883576ca8c4f488a;hpb=b27ccd85af8db2d996495ba1e8a63b504b2a9b4a;p=platal.git diff --git a/include/rss.inc.php b/include/rss.inc.php index eb78f63..f292fe8 100644 --- a/include/rss.inc.php +++ b/include/rss.inc.php @@ -34,7 +34,7 @@ function init_rss($template, $alias, $hash, $require_uid = true) if ($template) { $page->assign('rss_hash', $hash); - header('Content-Type: application/rss+xml; charset=utf8'); + pl_content_headers("application/rss+xml"); } return is_null($user) ? null : $user->id(); }