From 2985985a22ff7280cd95ffae65c3b03df8d51e63 Mon Sep 17 00:00:00 2001 From: marcelloc Date: Tue, 25 Oct 2011 19:24:32 -0200 Subject: countryblock-dev - fix folder location --- config/countryblock-dev/countryblock.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'config/countryblock-dev') 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); -- cgit v1.2.3