summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorsven4ask <sven@legalthings.io>2016-04-08 15:26:16 +0200
committersven4ask <sven@legalthings.io>2016-04-08 15:42:00 +0200
commit52725a88414137150cf377beecfcd785eb36f756 (patch)
tree9554d2fb304dd7717e8e90e5e4a3cc5c9e242ec0 /examples
parenta65fde9225ef02ed2655ac969a3e18af3dc985f1 (diff)
downloadsso-origin/remote-clientip.zip
sso-origin/remote-clientip.tar.gz
sso-origin/remote-clientip.tar.bz2
Remove client ip address from sessionorigin/remote-clientip
Diffstat (limited to 'examples')
-rw-r--r--examples/remoteaddr_fix.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/examples/remoteaddr_fix.php b/examples/remoteaddr_fix.php
deleted file mode 100644
index 409b4f3..0000000
--- a/examples/remoteaddr_fix.php
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-
-// This file set $_SERVER['REMOTE_ADDR'] and should be used when testing a
-// broker on localhost with a remote server.
-//
-// Use this file by adding `-d auto_prepend_file=../remoteaddr_fix.php`.
-
-$_SERVER['REMOTE_ADDR'] = file_get_contents("http://ipecho.net/plain");
-