From 8c27da939b4af5190f3b78b82f4cfd958527fbb4 Mon Sep 17 00:00:00 2001 From: "V. D'AGOSTINO" Date: Wed, 25 Apr 2018 21:03:18 +0200 Subject: [PATCH] Avoid requesting ipinfo.io and generating a php error when the connection is from localhost (#135) --- getIP.php | 150 ++++++++++++++++++++++++++++++++---------------------- 1 file changed, 88 insertions(+), 62 deletions(-) diff --git a/getIP.php b/getIP.php index 97bfe53..7c414c2 100644 --- a/getIP.php +++ b/getIP.php @@ -1,68 +1,94 @@