set content type to application/xhtml+xml to find problems earlier
This commit is contained in:
parent
a9bf6a587b
commit
041d1c0b38
@ -109,7 +109,8 @@ $tplVars['userservice'] = $userservice;
|
||||
if (!defined('UNIT_TEST_MODE')) {
|
||||
//API files define that, so we need a way to support both of them
|
||||
if (!isset($httpContentType)) {
|
||||
$httpContentType = 'text/html';
|
||||
//$httpContentType = 'text/html';
|
||||
$httpContentType = 'application/xhtml+xml';
|
||||
}
|
||||
if ($httpContentType !== false) {
|
||||
header('Content-Type: ' . $httpContentType . '; charset=utf-8');
|
||||
|
Loading…
Reference in New Issue
Block a user