aboutsummaryrefslogtreecommitdiffstats
path: root/config/countryblock-dev/countryblock.php
diff options
context:
space:
mode:
authormarcelloc <marcellocoutinho@gmail.com>2011-10-25 19:24:32 -0200
committermarcelloc <marcellocoutinho@gmail.com>2011-10-25 19:24:32 -0200
commit2985985a22ff7280cd95ffae65c3b03df8d51e63 (patch)
tree20ddcb1480000a58ce36c9a2a5f4b02d65fdff15 /config/countryblock-dev/countryblock.php
parentc26822f162cc3c07f4e2737a56781fb3d80db329 (diff)
downloadpfsense-packages-2985985a22ff7280cd95ffae65c3b03df8d51e63.tar.gz
pfsense-packages-2985985a22ff7280cd95ffae65c3b03df8d51e63.tar.bz2
pfsense-packages-2985985a22ff7280cd95ffae65c3b03df8d51e63.zip
countryblock-dev - fix folder location
Diffstat (limited to 'config/countryblock-dev/countryblock.php')
-rw-r--r--config/countryblock-dev/countryblock.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/config/countryblock-dev/countryblock.php b/config/countryblock-dev/countryblock.php
index c93a7f35..e33abacf 100644
--- a/config/countryblock-dev/countryblock.php
+++ b/config/countryblock-dev/countryblock.php
@@ -16,13 +16,13 @@ if ($_REQUEST['cbw']== 1){# and $_SERVER['REMOTE_ADDR']== '127.0.0.1'){
}
function countryblock_get_countries(){
-$files= array ( "Africa" => "/usr/loca/pkg/Africa_cidr.txt",
- "Antartica" => "/usr/loca/pkg/Antartica_cidr.txt",
- "Asia" => "/usr/loca/pkg/Asia_cidr.txt",
- "Europe" => "/usr/loca/pkg/Europe_cidr.txt",
- "North America" => "/usr/loca/pkg/North_America_cidr.txt",
- "Oceania" => "/usr/loca/pkg/Oceania_cidr.txt",
- "South America"=>"/usr/loca/pkg/South_America_cidr.txt");
+$files= array ( "Africa" => "/usr/local/pkg/Africa_cidr.txt",
+ "Antartica" => "/usr/local/pkg/Antartica_cidr.txt",
+ "Asia" => "/usr/local/pkg/Asia_cidr.txt",
+ "Europe" => "/usr/local/pkg/Europe_cidr.txt",
+ "North America" => "/usr/local/pkg/North_America_cidr.txt",
+ "Oceania" => "/usr/local/pkg/Oceania_cidr.txt",
+ "South America"=>"/usr/local/pkg/South_America_cidr.txt");
$cdir='/usr/local/pkg/countryblock';
if (! is_dir($cdir))
mkdir ($cdir,0755);