We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 683b279 commit a773a43Copy full SHA for a773a43
1 file changed
class/art/functions.user.php
@@ -26,7 +26,7 @@
26
function mod_getIP($asString = false)
27
{
28
// Gets the proxy ip sent by the user
29
- $proxy_ip = '';
+ /*$proxy_ip = '';
30
if (!empty($_SERVER["HTTP_X_FORWARDED_FOR"])) {
31
$proxy_ip = $_SERVER["HTTP_X_FORWARDED_FOR"];
32
} else if (!empty($_SERVER["HTTP_X_FORWARDED"])) {
@@ -53,8 +53,8 @@ function mod_getIP($asString = false)
53
}
54
55
$the_IP = ($asString) ? $the_IP : ip2long($the_IP);
56
-
57
- return $the_IP;
+ */
+ return '0.0.0.0';
58
59
60
function &mod_getUnameFromIds( $uid, $usereal = false, $linked = false )
0 commit comments