X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fgadgets%2Fgadgets.inc.php;h=bdfff0c26d46199238c55e065f7c686ac0f16552;hb=d667c548989db9d77b9abb0efe46d89c60369fc1;hp=a778b3f060c01ff79d32f2f740c182635dc19dc2;hpb=1c82f959c6e69a5a979e46e530872685106f9103;p=platal.git diff --git a/modules/gadgets/gadgets.inc.php b/modules/gadgets/gadgets.inc.php index a778b3f..bdfff0c 100644 --- a/modules/gadgets/gadgets.inc.php +++ b/modules/gadgets/gadgets.inc.php @@ -1,6 +1,6 @@ changeTpl($template, NO_SKIN); - - header('Content-Type: application/xml; charset=utf-8'); + pl_cached_content_headers("application/xml", "utf-8"); } function init_igoogle_html($template, $auth = AUTH_PUBLIC)