* Using "t3lib_div::cmpIP" for evaluating the list of "config.stat_excludeIPList"
authorKasper Skårhøj <kasper@typo3.org>
Mon, 15 Nov 2004 11:47:53 +0000 (11:47 +0000)
committerKasper Skårhøj <kasper@typo3.org>
Mon, 15 Nov 2004 11:47:53 +0000 (11:47 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@499 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_fe.php

index 3bc2be8..fb83f98 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2004-11-15  Kasper Skårhøj,,,  <kasper@typo3.com>
 
+       * Using "t3lib_div::cmpIP" for evaluating the list of "config.stat_excludeIPList" 
+
+2004-11-15  Kasper Skårhøj,,,  <kasper@typo3.com>
+
        * Merged all changes from "TYPO3_3-7" branch
        * Changed to version 3.8.0-dev
 
index a6b943c..8d440b9 100755 (executable)
@@ -2486,7 +2486,8 @@ if (version == "n3") {
                if ($this->config['config']['stat'] &&
                                (!strcmp('',$this->config['config']['stat_typeNumList']) || t3lib_div::inList(str_replace(' ','',$this->config['config']['stat_typeNumList']), $this->type)) &&
                                (!$this->config['config']['stat_excludeBEuserHits'] || !$this->beUserLogin) &&
-                               (!$this->config['config']['stat_excludeIPList'] || !t3lib_div::inList(str_replace(' ','',$this->config['config']['stat_excludeIPList']), t3lib_div::getIndpEnv('REMOTE_ADDR')))) {
+                               (!$this->config['config']['stat_excludeIPList'] || !t3lib_div::cmpIP(t3lib_div::getIndpEnv('REMOTE_ADDR'),str_replace(' ','',$this->config['config']['stat_excludeIPList'])))) {
+
                        $GLOBALS['TT']->push('Stat');
                                if (t3lib_extMgm::isLoaded('sys_stat') && $this->config['config']['stat_mysql'])        {