Index: src/gm/classes/GMCounter.php IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- src/gm/classes/GMCounter.php (revision d005e9c29d8cfc29ea46a743cc79a8e0ee11b8cd) +++ src/gm/classes/GMCounter.php (revision ) @@ -31,6 +31,9 @@ */ function gmc_set_current_user($p_echo = true) { + $this->gmc_current_ip = $_SERVER['REMOTE_ADDR']; + $this->gmc_current_agent = $_SERVER['HTTP_USER_AGENT']; + $t_output = ''; if(!$this->gmc_get_ip()) { \ No newline at end of file