Changeset 805 for trunk/Modules/Referrer/Referrer.php
- Timestamp:
- May 24, 2014, 11:35:47 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Referrer/Referrer.php
r804 r805 40 40 if(!in_array($HostName, $this->Excludes)) 41 41 { 42 if(!isset($_SERVER['REMOTE_ADDR'])) $IP = 'Konzole'; 43 else $IP = addslashes($_SERVER['REMOTE_ADDR']); 44 42 $IP = GetRemoteAddress(); 43 45 44 // Check if client IP is not blocked as spam source 46 45 $DbResult = $this->System->Database->query('SELECT COUNT(*) FROM `Referrer` WHERE `LastIP` = "'.$IP.'" AND (`Visible` = 0)');
Note:
See TracChangeset
for help on using the changeset viewer.