diff options
Diffstat (limited to 'config/ipblocklist/8/purge.tmp')
-rwxr-xr-x | config/ipblocklist/8/purge.tmp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/config/ipblocklist/8/purge.tmp b/config/ipblocklist/8/purge.tmp deleted file mode 100755 index 2ecf1cf6..00000000 --- a/config/ipblocklist/8/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_list.php'); - -?> |