Project

General

Profile

Bug #17570 » bug_6240_v2.diff

Administrator Admin, 2007-09-02 11:12

View differences:

typo3/sysext/cms/tslib/class.tslib_fe.php 2007-08-31 15:14:16.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 (false === $res) {
// 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
(2-2/2)