diff --git a/action.php b/action.php index a3c4c8a..0655bd1 100644 --- a/action.php +++ b/action.php @@ -107,7 +107,7 @@ class action_plugin_botmon extends DokuWiki_Action_Plugin { // create the log array: $logArr = Array( - $this->ipAddress, /* remote IP */ + $_SERVER['REMOTE_ADDR'], /*$this->ipAddress, // remote IP */ $pageId, /* page ID */ $this->sessionId, /* Session ID */ $this->sessionType, /* session ID type */