summaryrefslogtreecommitdiffstats
path: root/examples/remoteaddr_fix.php
diff options
context:
space:
mode:
Diffstat (limited to 'examples/remoteaddr_fix.php')
-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");
-