[TYPO3-core] Reminder: : pageNotFound_handling HTTP status fix

Dmitry Dulepov typo3 at accio.lv
Wed Jun 28 21:29:34 CEST 2006


Hi!

Martin Kutschker wrote:
> There are two file_get_contents() check. The second is corrected but the 
> first (stream context: file_get_contents($url, $ctx)) is still incorrect.

Hm-m-m-m, what do you mean? They look like this:

=======================
	elseif (function_exists('file_get_contents')) {
		$content = @file_get_contents($url, $ctx);
	}
}
elseif (function_exists('file_get_contents')) {
	$content = @file_get_contents($url);
}
=======================

One uses context, another does not. They are on the different branches 
of "if".

> Didn't find another flaw by looking. Fix the indenting and commit it. If 
> getURL() is broken we'll notice very soon ;-)

Should not be, I tried various combinations...

Attached is a final version (Ernesto, please, also take a look).

Dmitry.
-- 
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 404_v3b.txt
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060628/d92d97cf/attachment.txt 


More information about the TYPO3-team-core mailing list