Merged in julceslau/processmaker/HOR-2107 (pull request #5042)
HOR-2107
This commit is contained in:
@@ -269,7 +269,10 @@ class license_application extends padl
|
||||
$ips[$ip] = $ip;
|
||||
}
|
||||
}
|
||||
|
||||
# count return ips and return if found
|
||||
if (count($ips) > 0) {
|
||||
return $ips;
|
||||
}
|
||||
if (isset($this->_SERVER_VARS['SERVER_ADDR'])) {
|
||||
$name = gethostbyaddr($this->_SERVER_VARS['SERVER_ADDR']);
|
||||
$ip = gethostbyname($name);
|
||||
|
||||
Reference in New Issue
Block a user