diff options
Diffstat (limited to 'config/countryblock/purge.tmp')
-rw-r--r-- | config/countryblock/purge.tmp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/config/countryblock/purge.tmp b/config/countryblock/purge.tmp new file mode 100644 index 00000000..81d16a7c --- /dev/null +++ b/config/countryblock/purge.tmp @@ -0,0 +1,26 @@ +<?php +$line = $_GET["line"]; + +//echo("$line"); +//exec("more lists.txt > temp_lists.txt"); +if ($line == 0) { + exec("rm countries-white.txt"); + } else { + exec("sed $line'd' countries-white.txt > temp_countries-white.txt"); + } +exec("more temp_countries-white.txt > countries-white.txt"); +exec("rm temp_countries-white.txt"); + + +?> +<html> +<HEAD> +<SCRIPT language="JavaScript"> +<!-- +window.parent.location="whitelist.php"; +//--> +</SCRIPT> +</HEAD> + + +</html>
\ No newline at end of file |