[Typo3-dev] IP-ranges for stat_excludeIPList
Martin T. Kutschker
Martin.no5pam.Kutschker at blackbox.n0spam.net
Tue Nov 9 11:37:01 CET 2004
Hi!
How about changing the IP-check from this
t3lib_div::inList(
str_replace(' ','',$this->config['config']['stat_excludeIPList']),
t3lib_div::getIndpEnv('REMOTE_ADDR')
)
to that
t3lib_div::cmpIP(
t3lib_div::getIndpEnv("REMOTE_ADDR"),
$this->config["config"]["stat_excludeIPList"]
)
?
I reckon you would rather exclude your whole office net than some
individual developer's machines.
Masi
More information about the TYPO3-dev
mailing list