diff options
Diffstat (limited to 'config/ipblocklist/purgeip.tmp')
-rw-r--r--[-rwxr-xr-x] | config/ipblocklist/purgeip.tmp | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/config/ipblocklist/purgeip.tmp b/config/ipblocklist/purgeip.tmp index 449cb262..6ce36dfe 100755..100644 --- a/config/ipblocklist/purgeip.tmp +++ b/config/ipblocklist/purgeip.tmp @@ -1,26 +1,26 @@ -<?php -$line = $_GET["line"]; - -//echo("$line"); -//exec("more ips.ipfw > temp_ips.ipfw"); -if ($line == 0) { - exec("rm wlists.txt"); - } else { - exec("sed $line'd' wlists.txt > temp_wlists.txt"); - } -exec("more temp_wlists.txt > wlists.txt"); -exec("rm temp_wlists.txt"); - - -?> -<html> -<HEAD> -<SCRIPT language="JavaScript"> -<!-- -window.parent.location="ipblocklist.php"; -//--> -</SCRIPT> -</HEAD> - - +<?php
+$line = $_GET["line"];
+
+//echo("$line");
+//exec("more ips.ipfw > temp_ips.ipfw");
+if ($line == 0) {
+ exec("rm wlists.txt");
+ } else {
+ exec("sed $line'd' wlists.txt > temp_wlists.txt");
+ }
+exec("more temp_wlists.txt > wlists.txt");
+exec("rm temp_wlists.txt");
+
+
+?>
+<html>
+<HEAD>
+<SCRIPT language="JavaScript">
+<!--
+window.parent.location="ipblocklist.php";
+//-->
+</SCRIPT>
+</HEAD>
+
+
</html>
\ No newline at end of file |