BUG 14102 "La tabla LOGIN_LOG almacena el ip errado." SOLVED

- La tabla LOGIN_LOG almacena el ip errado
- Problema resuelto, se registra el ip utilizando el metodo getIpAddress().
  Disponible para la versió.5.3 de ProcessMaker.
This commit is contained in:
Luis Fernando Saisa Lopez
2014-03-27 10:09:35 -04:00
parent 7bc29a03ea
commit b12c61f170
2 changed files with 2 additions and 4 deletions

View File

@@ -177,7 +177,7 @@ class G
* getIpAddress
* @return string $ip
*/
public function getIpAddress ()
public static function getIpAddress ()
{
if (getenv( 'HTTP_CLIENT_IP' )) {
$ip = getenv( 'HTTP_CLIENT_IP' );