[TYPO3-core] RFC: #2300: [TS] Condition hostname doesn't work

Steffen Kamper info at sk-typo3.de
Mon Sep 15 13:38:41 CEST 2008


Oliver Klee schrieb:
> Hi Steffen,
> 
> +				foreach ($hosts as $host) {
> +					if (t3lib_div::getIndpEnv('HTTP_HOST') == $host)  {
> +						return true;
> +					}
> 
> Why not use in_array?
> 
> 
> Oliver

Hi,

because my coffee wasn't strong enough ;-) thx!

vg Steffen


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 2300_hostname2.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080915/890953a5/attachment.txt 


More information about the TYPO3-team-core mailing list