Merge commit 'origin/master' into fusionax
[platal.git] / include / rss.inc.php
index eb78f63..f292fe8 100644 (file)
@@ -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();
 }