GX-Bug #42241 » CounterFix.patch
src/gm/classes/GMCounter.php (revision ) | ||
---|---|---|
31 | 31 |
*/ |
32 | 32 |
function gmc_set_current_user($p_echo = true) { |
33 | 33 | |
34 |
$this->gmc_current_ip = $_SERVER['REMOTE_ADDR']; |
|
35 |
$this->gmc_current_agent = $_SERVER['HTTP_USER_AGENT']; |
|
36 | ||
34 | 37 |
$t_output = ''; |
35 | 38 | |
36 | 39 |
if(!$this->gmc_get_ip()) { |