Author Topic

Tobias Adam

Tuesday 30 May 2006 1:15:01 am

Comment45312

Thanks a lot, Kristof, now it works!

Just a note to the people who try to do the same: there's a little error in Lukasz Code he posted, concerning a missing semicolon in the header field's content which causes IE to fail loading the xml (but FF does, however).

Here's the corrected code:

if ( $layoutINI->hasVariable( $LayoutStyle, 'ContentType' ) )
        header( 'Content-Type: ' . $layoutINI->variable( $LayoutStyle, 'ContentType' ) . '; charset=' . $i18nINI->variable( 'CharacterSettings', 'Charset' ) );