Undo commit
Signed-off-by: droy <denis.roy@eclipse-foundation.org>
diff --git a/download.php b/download.php
index f0824a2..7881a13 100755
--- a/download.php
+++ b/download.php
@@ -126,7 +126,8 @@
$_country_code = "xx";
}
- $remote_addr = $Mirror->getClientRealIP();
+ $remote_addr = $_SERVER['REMOTE_ADDR'];
+ //$remote_addr = '69.157.112.107'; #DEBUG
$ip_ccode = $Mirror->selectCountryCodeByIP($remote_addr);
if($_debug == 1) {
echo "Country given: " . $_country_code . " IP Geolocation: " . $ip_ccode . "<br />";