X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Futil.php;h=8a05a346f08a5b4269045a810c54c7041c71f91a;hb=070eacb2e79f6d7bd7c1d4251aa49d53d0ce469f;hp=58ae330a9d93cb3d654a40609fc1171c74784bb2;hpb=73469e9bb109dca3ae6e2a739766adc6de5c6d67;p=quix0rs-gnu-social.git diff --git a/lib/util.php b/lib/util.php index 58ae330a9d..8a05a346f0 100644 --- a/lib/util.php +++ b/lib/util.php @@ -71,8 +71,8 @@ function common_show_header($pagetitle) { header('Content-Type: application/xhtml+xml'); $xw = new XMLWriter(); - $xw->setIndent(true); $xw->openURI('php://output'); + $xw->setIndent(true); $xw->startDocument('1.0', 'UTF-8'); $xw->writeDTD('html', '-//W3C//DTD XHTML 1.0 Strict//EN', 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd');