Forums / Setup & design / [HTTPHeaderSettings]:Content-type=application/xhtml+xml; / Comment24217
Claudia Kosny
Tuesday 22 May 2007 1:29:03 am
Hi Holger
I fixed this once by patching the file kernel/classes/ezhttpheader.php. I just added a check whether the depth parameter was numeric and if it was not, I just appended it to the header.
I do not have my file available right now so I can't tell you the exact code, but it was something like this:
if ( $depth === null) { $headerArray[$header] = $headerValue; } //start of added code else if(!is_numeric($depth)) { $headerArray[$header] = $headerValue . ';' . $depth; } //end of added code else ...
I am not sure whether this works in all cases, but it seemed to work fine for me.
Claudia