Bug #17570 » bug_6240.diff
typo3/sysext/cms/tslib/class.tslib_fe.php 2007-08-30 12:15:28.000000000 +0200 | ||
---|---|---|
list($header,$content) = split("\r\n\r\n", $res, 2);
|
||
$content.= "\r\n";
|
||
if (false === $content) {
|
||
// Last chance -- redirect
|
||
header('Location: '.t3lib_div::locationHeaderUrl($code));
|
||
if ($content == "\r\n") {
|
||
// send error
|
||
$this->printError('Configuration Error: 404 page "'.$code.'" could not be retrieved. Possible reasons: network problems, allow_url_fopen is off, curl is not enabled in Install tool.');
|
||
} else {
|
||
$forwardHeaders = array( // Forward these response headers to the client
|