aboutsummaryrefslogtreecommitdiffstats
path: root/config/ipblocklist/purge.tmp
diff options
context:
space:
mode:
authorTom Schaefer <tom@tomschaefer.org>2010-12-06 12:02:29 -0500
committerTom Schaefer <tom@tomschaefer.org>2010-12-06 12:04:16 -0500
commit7ba42aa8f14fd2eb9e7e956ed7429591ab98ef91 (patch)
tree1b723417fa48409b0022a6b31399b7401b0a968c /config/ipblocklist/purge.tmp
parentf1bb4cef07fdeb29b5519f59041ae6e0e2bb4308 (diff)
downloadpfsense-packages-7ba42aa8f14fd2eb9e7e956ed7429591ab98ef91.tar.gz
pfsense-packages-7ba42aa8f14fd2eb9e7e956ed7429591ab98ef91.tar.bz2
pfsense-packages-7ba42aa8f14fd2eb9e7e956ed7429591ab98ef91.zip
prep for major filestructure re-do
Diffstat (limited to 'config/ipblocklist/purge.tmp')
-rw-r--r--config/ipblocklist/purge.tmp20
1 files changed, 0 insertions, 20 deletions
diff --git a/config/ipblocklist/purge.tmp b/config/ipblocklist/purge.tmp
deleted file mode 100644
index a5a6cdf8..00000000
--- a/config/ipblocklist/purge.tmp
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
-header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past
-$line = $_GET["line"];
-
-//echo("$line");
-
-//exec("more lists.txt > temp_lists.txt");
-if ($line == 0) {
- exec("/bin/rm lists.txt");
- } else {
- exec("/usr/bin/sed $line'd' lists.txt > temp_lists.txt");
- }
-exec("/usr/bin/more temp_lists.txt > lists.txt");
-exec("/bin/rm temp_lists.txt");
-
-
-header('Location: ipblocklist.php');
-
-?>