Fix Bug #939615: Invalid RSS-Feeds and OAI-Responses

This commit is contained in:
Sebastian Meyer 2012-02-23 17:09:45 +01:00
parent f1334c90d5
commit 0556913bc9
2 changed files with 6 additions and 0 deletions

View File

@ -201,6 +201,9 @@ class tx_dlf_feeds extends tx_dlf_plugin {
$content = $rss->saveXML();
// Clean output buffer.
t3lib_div::cleanOutputBuffers();
// Send headers.
header('HTTP/1.1 200 OK');

View File

@ -510,6 +510,9 @@ class tx_dlf_oai extends tx_dlf_plugin {
$content = $this->oai->saveXML();
// Clean output buffer.
t3lib_div::cleanOutputBuffers();
// Send headers.
header('HTTP/1.1 200 OK');