aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorTom Schaefer <tom@tomschaefer.org>2010-07-28 08:44:19 -0400
committerTom Schaefer <tom@tomschaefer.org>2010-07-28 08:44:19 -0400
commitda4d711d261d0c3c5c3d7831dad4cb301b2ec102 (patch)
tree86c36338139412d1c9f91ce821a622f98c7d4578 /config
parent51a26b70e32f92b3600aa51cbbca5d4a06d63b70 (diff)
downloadpfsense-packages-da4d711d261d0c3c5c3d7831dad4cb301b2ec102.tar.gz
pfsense-packages-da4d711d261d0c3c5c3d7831dad4cb301b2ec102.tar.bz2
pfsense-packages-da4d711d261d0c3c5c3d7831dad4cb301b2ec102.zip
fix whitelist bug in countryblock package
modified: config/countryblock/countryblock.tmp
Diffstat (limited to 'config')
-rw-r--r--config/countryblock/countryblock.tmp3
1 files changed, 2 insertions, 1 deletions
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);