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

Oliver Klee typo3-german-02 at oliverklee.de
Mon Sep 15 13:27:43 CEST 2008


Hi Steffen,

+				foreach ($hosts as $host) {
+					if (t3lib_div::getIndpEnv('HTTP_HOST') == $host)  {
+						return true;
+					}

Why not use in_array?


Oliver


More information about the TYPO3-team-core mailing list