-
-$content_type = 'text/html; charset=utf-8';
-
-if (isset ($_SERVER['HTTP_ACCEPT']) &&
- stristr ($_SERVER['HTTP_ACCEPT'], 'application/xhtml+xml'))
- $content_type = 'application/xhtml+xml; charset=utf-8';
-
-header('Content-Type: ' . $content_type);