git-svn-id: http://xe-core.googlecode.com/svn/trunk@1522 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-06-01 03:53:53 +00:00
parent b11f360ce9
commit 95b1e8be45
3 changed files with 283 additions and 244 deletions

View file

@ -49,4 +49,15 @@
if(!$is_sub_set) return sprintf("<param>\n%s</param>", $buff);
return $buff;
}
function printContent($content) {
header("Content-Type: text/xml; charset=UTF-8");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
print $content;
exit();
}
?>