proxyscan to check (and deny) proxy connections
[brisk.git] / web / briskin5 / index_wr.php
index c55f8f5..3935e0a 100644 (file)
  */
 
 require_once("../Obj/brisk.phh");
+require_once("../Obj/proxyscan.phh");
 require_once("Obj/briskin5.phh");
 
+// Use of proxies isn't allowed.
+if (is_proxy()) {
+  sleep(5);
+  exit;
+}
+
 if (DEBUGGING == "local" && $_SERVER['REMOTE_ADDR'] != '127.0.0.1') {
   echo "Debugging time!";
   exit;