From da4d711d261d0c3c5c3d7831dad4cb301b2ec102 Mon Sep 17 00:00:00 2001 From: Tom Schaefer Date: Wed, 28 Jul 2010 08:44:19 -0400 Subject: fix whitelist bug in countryblock package modified: config/countryblock/countryblock.tmp --- config/countryblock/countryblock.tmp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config/countryblock/countryblock.tmp') diff --git a/config/countryblock/countryblock.tmp b/config/countryblock/countryblock.tmp index dff73e11..c827fc4f 100644 --- a/config/countryblock/countryblock.tmp +++ b/config/countryblock/countryblock.tmp @@ -29,7 +29,8 @@ if (count($_POST)>0) { if ($_POST['enable'] == 1) { //echo "enabled"; $config['installedpackages']['countryblock_settings']['config'][0]['enable'] = 1; - + //touch countries-white.txt to fix bug + exec("touch /usr/local/www/packages/countryblock/countries-white.txt"); //Process list by downloading and extracting $myFile = "countries.txt"; $fileContents = file_get_contents($myFile); -- cgit v1.2.3