type declaration

darcs-hash:20080520133640-84dde-5fe3c3079d12812fff09834754c3bc5f5610b5eb.gz
This commit is contained in:
Evan Prodromou 2008-05-20 09:36:40 -04:00
parent 9c16a5a9ef
commit 7cc40c5017

View File

@ -68,6 +68,8 @@ function common_element($tag, $attrs=NULL, $content=NULL) {
function common_show_header($pagetitle) {
global $config, $xw;
header('Content-Type: application/xhtml+xml');
$xw = new XMLWriter();
$xw->openURI('php://output');
$xw->startDocument('1.0', 'UTF-8');