Project

General

Profile

Bug #23178 ยป 15114.diff

Administrator Admin, 2010-07-15 15:57

View differences:

typo3/sysext/cms/tslib/class.tslib_fe.php (working copy)
$GLOBALS['TT']->pull();
if ($this->pageNotFound && $this->TYPO3_CONF_VARS['FE']['pageNotFound_handling']) {
$header = t3lib_utility_Http::HTTP_STATUS_404;
$pNotFoundMsg = array(
1 => 'ID was not an accessible page',
2 => 'Subsection was found and not accessible',
3 => 'ID was outside the domain',
4 => 'The requested page alias does not exist'
);
$this->pageNotFoundAndExit($pNotFoundMsg[$this->pageNotFound]);
if ($this->pageNotFound === 1 || $this->pageNotFound === 2) {
$header = t3lib_utility_Http::HTTP_STATUS_401;
}
$this->pageNotFoundAndExit($pNotFoundMsg[$this->pageNotFound], $header);
}
// set no_cache if set
    (1-1/1)